@proyecto-viviana/ui 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunk/LinkButton.js +9 -9
- package/dist/_chunk/LinkButton.js.map +1 -1
- package/dist/_chunk/LinkButton.jsx +9 -9
- package/dist/_chunk/LinkButton.jsx.map +1 -1
- package/dist/_chunk/RangeCalendar.js +7 -7
- package/dist/_chunk/RangeCalendar.js.map +1 -1
- package/dist/_chunk/RangeCalendar.jsx +7 -7
- package/dist/_chunk/RangeCalendar.jsx.map +1 -1
- package/dist/_chunk/Tabs.js +2 -2
- package/dist/_chunk/Tabs.jsx +2 -2
- package/dist/_chunk/breadcrumbs.js +2 -2
- package/dist/_chunk/breadcrumbs.js.map +1 -1
- package/dist/_chunk/breadcrumbs.jsx +2 -2
- package/dist/_chunk/breadcrumbs.jsx.map +1 -1
- package/dist/_chunk/button.js +3 -3
- package/dist/_chunk/button.jsx +3 -3
- package/dist/_chunk/color.js +4 -4
- package/dist/_chunk/color.jsx +4 -4
- package/dist/_chunk/form.js +5 -7
- package/dist/_chunk/form.js.map +1 -1
- package/dist/_chunk/form.jsx +5 -8
- package/dist/_chunk/form.jsx.map +1 -1
- package/dist/_chunk/layout.js +5 -1
- package/dist/_chunk/layout.js.map +1 -1
- package/dist/_chunk/layout.jsx +5 -1
- package/dist/_chunk/layout.jsx.map +1 -1
- package/dist/_chunk/list.js +4 -4
- package/dist/_chunk/list.jsx +4 -4
- package/dist/_chunk/menu.js +1 -1
- package/dist/_chunk/menu.js.map +1 -1
- package/dist/_chunk/menu.jsx +1 -1
- package/dist/_chunk/menu.jsx.map +1 -1
- package/dist/_chunk/numberfield.js +2 -2
- package/dist/_chunk/numberfield.jsx +2 -2
- package/dist/_chunk/s2-action-button-styles.js +8 -8
- package/dist/_chunk/s2-action-button-styles.js.map +1 -1
- package/dist/_chunk/s2-action-button-styles.jsx +8 -8
- package/dist/_chunk/s2-action-button-styles.jsx.map +1 -1
- package/dist/_chunk/s2-menu-styles.js +1 -1
- package/dist/_chunk/s2-menu-styles.jsx +1 -1
- package/dist/_chunk/slider.js +6 -6
- package/dist/_chunk/slider.jsx +6 -6
- package/dist/_chunk/switch.js +2 -2
- package/dist/_chunk/switch.jsx +2 -2
- package/dist/_chunk/table.js +3 -3
- package/dist/_chunk/table.js.map +1 -1
- package/dist/_chunk/table.jsx +3 -3
- package/dist/_chunk/table.jsx.map +1 -1
- package/dist/_chunk/text.js +1 -1
- package/dist/_chunk/text.jsx +1 -1
- package/dist/_chunk/textfield.js +4 -4
- package/dist/_chunk/textfield.jsx +4 -4
- package/dist/_chunk/toast.js +3 -3
- package/dist/_chunk/toast.jsx +3 -3
- package/dist/actiongroup/index.js +2 -2
- package/dist/actiongroup/index.jsx +2 -2
- package/dist/badge/index.js +6 -6
- package/dist/badge/index.jsx +6 -6
- package/dist/breadcrumbs/index.d.ts.map +1 -1
- package/dist/calendar/DateField.d.ts.map +1 -1
- package/dist/calendar/DateField.js +2 -2
- package/dist/calendar/DateField.js.map +1 -1
- package/dist/calendar/DateField.jsx +2 -2
- package/dist/calendar/DateField.jsx.map +1 -1
- package/dist/calendar/DatePicker.d.ts.map +1 -1
- package/dist/calendar/DatePicker.js +2 -2
- package/dist/calendar/DatePicker.js.map +1 -1
- package/dist/calendar/DatePicker.jsx +2 -2
- package/dist/calendar/DatePicker.jsx.map +1 -1
- package/dist/calendar/DateRangePicker.js +2 -2
- package/dist/calendar/DateRangePicker.jsx +2 -2
- package/dist/calendar/RangeCalendar.d.ts.map +1 -1
- package/dist/calendar/TimeField.d.ts.map +1 -1
- package/dist/calendar/TimeField.js +2 -2
- package/dist/calendar/TimeField.js.map +1 -1
- package/dist/calendar/TimeField.jsx +2 -2
- package/dist/calendar/TimeField.jsx.map +1 -1
- package/dist/calendar/index.js +5 -5
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.jsx +5 -5
- package/dist/calendar/index.jsx.map +1 -1
- package/dist/checkbox/index.js +3 -3
- package/dist/checkbox/index.jsx +3 -3
- package/dist/combobox/index.js +2 -2
- package/dist/combobox/index.jsx +2 -2
- package/dist/dropzone/index.js +1 -1
- package/dist/dropzone/index.jsx +1 -1
- package/dist/form/index.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelChartIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelChartIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelChartIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelCheckIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelCheckIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelCheckIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelChevronDownIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelChevronDownIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelChevronDownIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelChevronRightIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelChevronRightIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelChevronRightIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelClockIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelClockIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelClockIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelCodeIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelCodeIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelCodeIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelCommunityIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelCommunityIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelCommunityIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelCubeIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelCubeIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelCubeIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelFlameIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelFlameIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelFlameIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelHomeIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelHomeIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelHomeIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelLayoutIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelLayoutIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelLayoutIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelMessageIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelMessageIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelMessageIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavCommunityIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavCommunityIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavCommunityIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavExploreIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavExploreIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavExploreIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavLiveIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavLiveIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavLiveIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavPathwaysIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavPathwaysIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavPathwaysIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavPlaygroundIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavPlaygroundIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavPlaygroundIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavProjectsIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavProjectsIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavProjectsIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavReferenceIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavReferenceIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavReferenceIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavSettingsIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavSettingsIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavSettingsIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNavTopicsIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNavTopicsIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNavTopicsIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelNotificationIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelNotificationIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelNotificationIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelPathwaysIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelPathwaysIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelPathwaysIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelPlayIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelPlayIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelPlayIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelSearchIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelSearchIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelSearchIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelSettingsIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelSettingsIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelSettingsIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelSparkleIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelSparkleIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelSparkleIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelTopicsIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelTopicsIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelTopicsIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelUserIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelUserIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelUserIcon.jsx.map +1 -1
- package/dist/icon/pixel-icons/PixelZapIcon.d.ts.map +1 -1
- package/dist/icon/pixel-icons/PixelZapIcon.js.map +1 -1
- package/dist/icon/pixel-icons/PixelZapIcon.jsx.map +1 -1
- package/dist/inlinealert/index.js +6 -6
- package/dist/inlinealert/index.jsx +6 -6
- package/dist/labeledvalue/index.js +1 -1
- package/dist/labeledvalue/index.jsx +1 -1
- package/dist/layout/Flex.d.ts +2 -0
- package/dist/layout/Flex.d.ts.map +1 -1
- package/dist/link/index.d.ts.map +1 -1
- package/dist/link/index.js +1 -4
- package/dist/link/index.js.map +1 -1
- package/dist/link/index.jsx +1 -4
- package/dist/link/index.jsx.map +1 -1
- package/dist/listbox/index.js +3 -3
- package/dist/listbox/index.jsx +4 -4
- package/dist/menu/index.d.ts.map +1 -1
- package/dist/meter/index.d.ts.map +1 -1
- package/dist/meter/index.js +2 -2
- package/dist/meter/index.js.map +1 -1
- package/dist/meter/index.jsx +2 -2
- package/dist/meter/index.jsx.map +1 -1
- package/dist/notificationbadge/index.js +1 -1
- package/dist/notificationbadge/index.jsx +1 -1
- package/dist/picker/index.js +3 -3
- package/dist/picker/index.jsx +3 -3
- package/dist/popover/index.js +1 -1
- package/dist/popover/index.jsx +1 -1
- package/dist/progress/ProgressCircle.js +2 -2
- package/dist/progress/ProgressCircle.js.map +1 -1
- package/dist/progress/ProgressCircle.jsx +2 -2
- package/dist/progress/ProgressCircle.jsx.map +1 -1
- package/dist/progress-bar/index.js +4 -4
- package/dist/progress-bar/index.jsx +4 -4
- package/dist/radio/index.js +2 -2
- package/dist/radio/index.jsx +2 -2
- package/dist/searchfield/index.js +2 -2
- package/dist/searchfield/index.jsx +2 -2
- package/dist/segmentedcontrol/index.js +2 -5
- package/dist/segmentedcontrol/index.js.map +1 -1
- package/dist/segmentedcontrol/index.jsx +2 -5
- package/dist/segmentedcontrol/index.jsx.map +1 -1
- package/dist/select/index.js +3 -3
- package/dist/select/index.jsx +3 -3
- package/dist/selectboxgroup/index.js +1 -1
- package/dist/selectboxgroup/index.jsx +1 -1
- package/dist/statuslight/index.js +1 -1
- package/dist/statuslight/index.jsx +1 -1
- package/dist/steplist/index.js +5 -5
- package/dist/steplist/index.jsx +5 -5
- package/dist/style/glasselated-ramps.d.ts.map +1 -1
- package/dist/style/index.js +18 -9
- package/dist/style/index.js.map +1 -1
- package/dist/style/spectrum-theme.d.ts +7 -7
- package/dist/style/spectrum-theme.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/table/index.d.ts.map +1 -1
- package/dist/tag-group/index.js +10 -10
- package/dist/tag-group/index.js.map +1 -1
- package/dist/tag-group/index.jsx +10 -10
- package/dist/tag-group/index.jsx.map +1 -1
- package/dist/toolbar/index.d.ts.map +1 -1
- package/dist/toolbar/index.js.map +1 -1
- package/dist/toolbar/index.jsx.map +1 -1
- package/dist/tree/index.d.ts.map +1 -1
- package/dist/tree/index.js +5 -5
- package/dist/tree/index.js.map +1 -1
- package/dist/tree/index.jsx +5 -5
- package/dist/tree/index.jsx.map +1 -1
- package/dist/viviana-tokens.css +39 -12
- package/package.json +18 -5
- package/src/breadcrumbs/index.tsx +14 -7
- package/src/button/s2-action-button-styles.ts +8 -8
- package/src/button/s2-button-styles.ts +8 -8
- package/src/calendar/DateField.tsx +2 -6
- package/src/calendar/DatePicker.tsx +8 -1
- package/src/calendar/RangeCalendar.tsx +13 -7
- package/src/calendar/TimeField.tsx +2 -6
- package/src/calendar/index.tsx +4 -4
- package/src/form/index.tsx +5 -6
- package/src/icon/pixel-icons/PixelChartIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelCheckIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelChevronDownIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelChevronRightIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelClockIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelCodeIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelCommunityIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelCubeIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelFlameIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelHomeIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelLayoutIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelMessageIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavCommunityIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavExploreIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavLiveIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavPathwaysIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavPlaygroundIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavProjectsIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavReferenceIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavSettingsIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNavTopicsIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelNotificationIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelPathwaysIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelPlayIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelSearchIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelSettingsIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelSparkleIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelTopicsIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelUserIcon.tsx +4 -1
- package/src/icon/pixel-icons/PixelZapIcon.tsx +4 -1
- package/src/layout/Flex.tsx +7 -0
- package/src/link/index.tsx +3 -1
- package/src/menu/index.tsx +1 -3
- package/src/meter/index.tsx +1 -3
- package/src/progress/ProgressCircle.tsx +1 -1
- package/src/segmentedcontrol/index.tsx +6 -6
- package/src/style/glasselated-ramps.ts +37 -33
- package/src/style/spectrum-theme.ts +22 -17
- package/src/table/index.tsx +1 -3
- package/src/tag-group/index.tsx +8 -8
- package/src/toolbar/index.tsx +4 -1
- package/src/tree/index.tsx +3 -11
- package/src/viviana-tokens.css +39 -12
package/src/calendar/index.tsx
CHANGED
|
@@ -355,10 +355,10 @@ const calendarCellInner = style<{
|
|
|
355
355
|
isPressed: "gray-100",
|
|
356
356
|
isDisabled: "transparent",
|
|
357
357
|
isSelected: {
|
|
358
|
-
default:
|
|
359
|
-
isHovered: lightDark("accent-1000", "accent-
|
|
360
|
-
isPressed: lightDark("accent-1000", "accent-
|
|
361
|
-
isFocusVisible: lightDark("accent-1000", "accent-
|
|
358
|
+
default: "interactive-fill",
|
|
359
|
+
isHovered: lightDark("accent-1000", "accent-600"),
|
|
360
|
+
isPressed: lightDark("accent-1000", "accent-600"),
|
|
361
|
+
isFocusVisible: lightDark("accent-1000", "accent-600"),
|
|
362
362
|
isDisabled: "transparent",
|
|
363
363
|
isInvalid: {
|
|
364
364
|
default: lightDark("negative-900", "negative-700"),
|
package/src/form/index.tsx
CHANGED
|
@@ -158,6 +158,10 @@ const formStyles = style<{ labelPosition: FormLabelPosition; size: FormSize }>(
|
|
|
158
158
|
);
|
|
159
159
|
|
|
160
160
|
export function Form(props: FormProps): JSX.Element {
|
|
161
|
+
// Leave `children` on the headless rest props so they flow through as a
|
|
162
|
+
// lazy Solid getter — do not split them off and re-wrap. A forced
|
|
163
|
+
// `(rp) => children` render-prop wrapper desyncs createUniqueId between SSR
|
|
164
|
+
// and client (Form+Button hydration mismatch). See solid-spectrum Form.
|
|
161
165
|
const [local, headlessProps] = splitProps(props, [
|
|
162
166
|
"size",
|
|
163
167
|
"labelPosition",
|
|
@@ -170,7 +174,6 @@ export function Form(props: FormProps): JSX.Element {
|
|
|
170
174
|
"UNSAFE_className",
|
|
171
175
|
"UNSAFE_style",
|
|
172
176
|
"ref",
|
|
173
|
-
"children",
|
|
174
177
|
]);
|
|
175
178
|
|
|
176
179
|
const size = () => local.size ?? "M";
|
|
@@ -214,11 +217,7 @@ export function Form(props: FormProps): JSX.Element {
|
|
|
214
217
|
.filter(Boolean)
|
|
215
218
|
.join(" ")}
|
|
216
219
|
style={local.UNSAFE_style}
|
|
217
|
-
|
|
218
|
-
{(renderProps) =>
|
|
219
|
-
typeof local.children === "function" ? local.children(renderProps) : local.children
|
|
220
|
-
}
|
|
221
|
-
</HeadlessForm>
|
|
220
|
+
/>
|
|
222
221
|
</FormContext.Provider>
|
|
223
222
|
);
|
|
224
223
|
}
|
|
@@ -18,7 +18,10 @@ function PixelChartIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Elem
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M4 12h3v6H4zM10 9h3v9h-3zM16 5h3v13h-3zM3 18h18v2H3z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelCheckIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Elem
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M7 12h2v2H7zM9 14h2v2H9zM11 12h2v2h-2zM13 10h2v2h-2zM15 8h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelChevronDownIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JS
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M6 9h2v2H6zM8 11h2v2H8zM10 13h2v2h-2zM12 11h2v2h-2zM14 9h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelChevronRightIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): J
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M9 6h2v2H9zM11 8h2v2h-2zM13 10h2v2h-2zM11 12h2v2h-2zM9 14h2v2H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelClockIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Elem
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M9 4h6v2H9zM9 18h6v2H9zM5 9h2v6H5zM17 9h2v6h-2zM7 6h2v2H7zM15 6h2v2h-2zM7 16h2v2H7zM15 16h2v2h-2zM11 8h2v4h-2zM13 12h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelCodeIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Eleme
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M7 9h2v2H7zM5 11h2v2H5zM7 13h2v2H7zM15 9h2v2h-2zM17 11h2v2h-2zM15 13h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelCommunityIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M5 5h4v4H5zM15 5h4v4h-4zM3 11h8v6H3zM13 11h8v6h-8z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelCubeIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Eleme
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M5 5h14v2H5zM5 17h14v2H5zM5 7h2v10H5zM17 7h2v10h-2zM9 9h6v6H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelFlameIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Elem
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M11 4h2v2h-2zM10 6h4v2h-4zM9 8h6v2H9zM8 10h8v6H8zM9 16h6v2H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelHomeIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Eleme
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M11 4h2v2h-2zM9 6h2v2H9zM13 6h2v2h-2zM7 8h2v2H7zM15 8h2v2h-2zM5 10h2v2H5zM17 10h2v2h-2zM7 12h2v8H7zM15 12h2v8h-2zM9 18h6v2H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelLayoutIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Ele
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M4 5h16v2H4zM4 17h16v2H4zM4 7h2v10H4zM18 7h2v10h-2zM6 7h12v2H6zM9 9h2v8H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelMessageIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.El
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M4 5h16v2H4zM4 7h2v6H4zM18 7h2v6h-2zM4 13h16v2H4zM7 15h2v2H7z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavCommunityIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): J
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M7 4h4v4H7zM13 4h4v4h-4zM5 10h4v2H5zM15 10h4v2h-4zM5 12h2v4H5zM17 12h2v4h-2zM11 12h2v6h-2zM9 10h6v2H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavExploreIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M9 3h6v2H9zM7 5h2v2H7zM15 5h2v2h-2zM5 7h2v10H5zM17 7h2v10h-2zM7 17h2v2H7zM15 17h2v2h-2zM9 19h6v2H9zM11 8h2v2h-2zM11 11h2v2h-2zM11 14h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavLiveIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.El
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M10 10h4v4h-4zM5 5h2v2H5zM17 5h2v2h-2zM3 7h2v10H3zM19 7h2v10h-2zM5 17h2v2H5zM17 17h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavPathwaysIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JS
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M4 4h4v4H4zM6 8h2v4H6zM8 10h6v2H8zM12 12h2v4h-2zM10 16h6v4h-6z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavPlaygroundIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>):
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M13 2h4v3h-4zM11 5h4v3h-4zM9 8h6v3H9zM12 11h4v3h-4zM10 14h4v3h-4zM8 17h4v5H8z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavProjectsIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JS
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M3 5h7v2H3zM3 7h18v2H3zM3 9h18v2H3zM3 11h2v8H3zM19 11h2v8h-2zM5 17h14v2H5z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavReferenceIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): J
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M5 3h12v2H5zM5 5h2v16H5zM17 5h2v14h-2zM7 19h10v2H7zM9 8h6v2H9zM9 11h6v2H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavSettingsIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JS
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M10 2h4v3h-4zM10 19h4v3h-4zM2 10h3v4H2zM19 10h3v4h-3zM4 4h3v3H4zM17 4h3v3h-3zM4 17h3v3H4zM17 17h3v3h-3zM9 9h6v6H9z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNavTopicsIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelNotificationIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): J
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M11 3h2v2h-2zM9 5h6v2H9zM8 7h2v7H8zM14 7h2v7h-2zM6 14h12v2H6zM10 17h4v2h-4z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelPathwaysIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.E
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M4 15h4v4H4zM8 11h4v4H8zM12 7h4v4h-4zM16 3h4v4h-4z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelPlayIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Eleme
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M7 4h2v16H7zM9 6h2v12H9zM11 8h2v8h-2zM13 10h2v4h-2zM15 11h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelSearchIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Ele
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M4 4h10v2H4zM4 12h10v2H4zM4 6h2v6H4zM12 6h2v6h-2zM14 14h2v2h-2zM16 16h2v2h-2zM18 18h2v2h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelSettingsIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.E
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M9 9h6v6H9zM10 4h4v5h-4zM10 15h4v5h-4zM4 10h5v4H4zM15 10h5v4h-4zM6 6h3v3H6zM15 6h3v3h-3zM6 15h3v3H6zM15 15h3v3h-3z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelSparkleIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.El
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M11 3h2v6h-2zM11 15h2v6h-2zM3 11h6v2H3zM15 11h6v2h-6zM10 10h4v4h-4z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelTopicsIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Ele
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M5 5h6v6H5zM13 5h6v6h-6zM5 13h6v6H5zM13 13h6v6h-6z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelUserIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Eleme
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M9 4h6v2H9zM8 6h2v4H8zM14 6h2v4h-2zM9 10h6v2H9zM8 13h8v2H8zM6 15h2v5H6zM16 15h2v5h-2z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -18,7 +18,10 @@ function PixelZapIconSvg(props: JSX.SvgSVGAttributes<SVGSVGElement>): JSX.Elemen
|
|
|
18
18
|
{...rest}
|
|
19
19
|
class={className}
|
|
20
20
|
>
|
|
21
|
-
<path
|
|
21
|
+
<path
|
|
22
|
+
d="M13 2h4v3h-4zM11 5h4v3h-4zM9 8h6v3H9zM12 11h4v3h-4zM10 14h4v3h-4zM8 17h4v5H8z"
|
|
23
|
+
fill="var(--iconPrimary, currentColor)"
|
|
24
|
+
/>
|
|
22
25
|
</svg>
|
|
23
26
|
);
|
|
24
27
|
}
|
package/src/layout/Flex.tsx
CHANGED
|
@@ -15,6 +15,8 @@ export interface FlexProps {
|
|
|
15
15
|
inline?: boolean;
|
|
16
16
|
/** Additional CSS class name. */
|
|
17
17
|
class?: string;
|
|
18
|
+
/** Additional inline styles. */
|
|
19
|
+
style?: JSX.CSSProperties;
|
|
18
20
|
/** The content. */
|
|
19
21
|
children?: JSX.Element;
|
|
20
22
|
}
|
|
@@ -69,12 +71,17 @@ export function Flex(props: FlexProps): JSX.Element {
|
|
|
69
71
|
"justifyContent",
|
|
70
72
|
"inline",
|
|
71
73
|
"class",
|
|
74
|
+
"style",
|
|
72
75
|
"children",
|
|
73
76
|
]);
|
|
74
77
|
|
|
78
|
+
// `style` is merged rather than left in `rest`, where the assignment below would have
|
|
79
|
+
// silently dropped it. Grid already accepted one; the two primitives are meant to be
|
|
80
|
+
// interchangeable, and without it every decorated row has to fall back to a bare div.
|
|
75
81
|
const flexStyle = (): JSX.CSSProperties => {
|
|
76
82
|
const s: JSX.CSSProperties = {
|
|
77
83
|
display: local.inline ? "inline-flex" : "flex",
|
|
84
|
+
...local.style,
|
|
78
85
|
};
|
|
79
86
|
|
|
80
87
|
if (local.direction) s["flex-direction"] = local.direction;
|
package/src/link/index.tsx
CHANGED
|
@@ -89,7 +89,9 @@ const linkStyles = style<
|
|
|
89
89
|
},
|
|
90
90
|
color: {
|
|
91
91
|
variant: {
|
|
92
|
-
|
|
92
|
+
// Accent-as-ink has its own AA-safe role. `accent` remains the brighter
|
|
93
|
+
// brand blue used by decorative marks, rings, and indicators.
|
|
94
|
+
primary: "[var(--text-link)]",
|
|
93
95
|
secondary: baseColor("neutral"),
|
|
94
96
|
},
|
|
95
97
|
isStaticColor: "transparent-overlay-1000",
|
package/src/menu/index.tsx
CHANGED
|
@@ -811,9 +811,7 @@ export interface MenuSeparatorProps {
|
|
|
811
811
|
* A visual separator between menu items.
|
|
812
812
|
*/
|
|
813
813
|
export function MenuSeparator(props: MenuSeparatorProps): JSX.Element {
|
|
814
|
-
return (
|
|
815
|
-
<div role="separator" class={[separatorStyles, props.class].filter(Boolean).join(" ")} />
|
|
816
|
-
);
|
|
814
|
+
return <div role="separator" class={[separatorStyles, props.class].filter(Boolean).join(" ")} />;
|
|
817
815
|
}
|
|
818
816
|
|
|
819
817
|
function ChevronIcon(props: { class?: string }): JSX.Element {
|
package/src/meter/index.tsx
CHANGED
|
@@ -442,9 +442,7 @@ export function Meter(props: MeterProps): JSX.Element {
|
|
|
442
442
|
};
|
|
443
443
|
const filledCount = createMemo(() => {
|
|
444
444
|
const segments = segmentCount();
|
|
445
|
-
return segments == null
|
|
446
|
-
? 0
|
|
447
|
-
: clamp(Math.round((percentage() / 100) * segments), 0, segments);
|
|
445
|
+
return segments == null ? 0 : clamp(Math.round((percentage() / 100) * segments), 0, segments);
|
|
448
446
|
});
|
|
449
447
|
const showValue = () => !!local.label;
|
|
450
448
|
const mergedStyles = () => mergeContextStyles(contextProps?.styles, props.styles);
|
|
@@ -372,7 +372,7 @@ export function ProgressCircle(props: ProgressCircleProps): JSX.Element {
|
|
|
372
372
|
}}
|
|
373
373
|
</For>
|
|
374
374
|
{/* Read `children` exactly once per run — a repeated getter read
|
|
375
|
-
|
|
375
|
+
* re-instantiates the subtree and desyncs hydration keys. */}
|
|
376
376
|
{(() => {
|
|
377
377
|
const content = local.children;
|
|
378
378
|
return content != null ? <div class={centerStyles}>{content}</div> : undefined;
|
|
@@ -119,14 +119,14 @@ const segmentedControlItem = style<ToggleButtonRenderProps & { isJustified?: boo
|
|
|
119
119
|
borderStyle: "none",
|
|
120
120
|
backgroundColor: "transparent",
|
|
121
121
|
/* With the plate gone, ink is the ONLY selection signal — which is how the register
|
|
122
|
-
does it: the selected segment is
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
the
|
|
126
|
-
|
|
122
|
+
does it: the selected segment is accent ink and its siblings are secondary ink
|
|
123
|
+
(TerminalGlassLab.tsx:21-25). The decorative `--accent-primary` is only 2.98:1 on
|
|
124
|
+
the daylight panel, so text consumes the scheme-specific `--text-link` role instead:
|
|
125
|
+
it preserves the blue selection signal while meeting AA on every published surface.
|
|
126
|
+
`viviana-tokens.css` owns the actual register values for both schemes. */
|
|
127
127
|
color: {
|
|
128
128
|
default: baseColor("neutral-subdued"),
|
|
129
|
-
isSelected:
|
|
129
|
+
isSelected: "[var(--text-link)]",
|
|
130
130
|
isDisabled: "disabled",
|
|
131
131
|
},
|
|
132
132
|
cursor: {
|