-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cc-popover: init component #829
Comments
pdesoyres-cc
added a commit
that referenced
this issue
Sep 12, 2023
pdesoyres-cc
added a commit
that referenced
this issue
Sep 29, 2023
pdesoyres-cc
added a commit
that referenced
this issue
Oct 12, 2023
pdesoyres-cc
added a commit
that referenced
this issue
Oct 27, 2023
pdesoyres-cc
added a commit
that referenced
this issue
Nov 2, 2023
pdesoyres-cc
added a commit
that referenced
this issue
Nov 8, 2023
pdesoyres-cc
added a commit
that referenced
this issue
Nov 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
This component is needed for the logs controller component. We want the different options of the logs component to be located in a popover because it provides an easy way to access options, and we don't have to rely on a more complicated modal dialog component.
Also, the native popover API is not yet supported everywhere.
This component is made of:
<cc-button>
.To be discussed
isOpen
is a public property that can be set from the outside.Changing this property from outside the component won't trigger the
cc-popover:open
orcc-popover:close
events.Maybe, this is something we would like to discuss in sync with the team.
Inputs
We don't need to provide all the features the
<cc-button>
has. We will expose only some useful ones.Attributes/properties
accessibleName
string
null
true
<cc-button>
hideText
boolean
false
false
<cc-button>
should hide texticon
IconModel
null
false
cc-button
isOpen
boolean
false
false
position
PopoverPosition
bottom-left
false
Slots
default
button-text
<cc-button>
CSS custom property
--cc-popover-z-index
number
999
Outputs
cc-popover:open
null
cc-popover:close
null
Type Definitions
Stories & states
The text was updated successfully, but these errors were encountered: