@tempoxyz/ds 0.2.0 → 0.2.4
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/README.md +36 -0
- package/dist/mobile/components/Avatar.d.ts +1 -1
- package/dist/mobile/components/Avatar.d.ts.map +1 -1
- package/dist/mobile/components/Avatar.js.map +1 -1
- package/dist/mobile/components/Button.d.ts +2 -2
- package/dist/mobile/components/Button.d.ts.map +1 -1
- package/dist/mobile/components/Button.js +6 -2
- package/dist/mobile/components/Button.js.map +1 -1
- package/dist/mobile/components/CodeInput.d.ts +1 -1
- package/dist/mobile/components/CodeInput.d.ts.map +1 -1
- package/dist/mobile/components/CodeInput.js.map +1 -1
- package/dist/mobile/components/IconButton.d.ts +2 -2
- package/dist/mobile/components/IconButton.d.ts.map +1 -1
- package/dist/mobile/components/IconButton.js +6 -2
- package/dist/mobile/components/IconButton.js.map +1 -1
- package/dist/mobile/components/Skeleton.d.ts.map +1 -1
- package/dist/mobile/components/Skeleton.js.map +1 -1
- package/dist/mobile/components/Spinner.d.ts +4 -4
- package/dist/mobile/components/Spinner.d.ts.map +1 -1
- package/dist/mobile/components/Spinner.js +3 -3
- package/dist/mobile/components/Spinner.js.map +1 -1
- package/dist/mobile/components/TextButton.d.ts.map +1 -1
- package/dist/mobile/components/TextButton.js +7 -2
- package/dist/mobile/components/TextButton.js.map +1 -1
- package/dist/mobile/components/TextInput.d.ts.map +1 -1
- package/dist/mobile/components/TextInput.js +1 -1
- package/dist/mobile/components/TextInput.js.map +1 -1
- package/dist/mobile/components/Toast.d.ts +1 -1
- package/dist/mobile/components/Toast.d.ts.map +1 -1
- package/dist/mobile/components/Toast.js +1 -1
- package/dist/mobile/components/Toast.js.map +1 -1
- package/dist/mobile/components/Toggle.d.ts +2 -2
- package/dist/mobile/components/Toggle.js +2 -2
- package/dist/mobile/components/Toggle.js.map +1 -1
- package/dist/mobile/vars.d.ts +24 -0
- package/dist/mobile/vars.d.ts.map +1 -1
- package/dist/mobile/vars.js +12 -0
- package/dist/mobile/vars.js.map +1 -1
- package/dist/mobile/zyzz.config.d.ts +96 -0
- package/dist/mobile/zyzz.config.d.ts.map +1 -1
- package/dist/oxlint/index.d.ts +43 -0
- package/dist/oxlint/index.d.ts.map +1 -0
- package/dist/oxlint/index.js +68 -0
- package/dist/oxlint/index.js.map +1 -0
- package/dist/oxlint/internal/Imports.d.ts +22 -0
- package/dist/oxlint/internal/Imports.d.ts.map +1 -0
- package/dist/oxlint/internal/Imports.js +52 -0
- package/dist/oxlint/internal/Imports.js.map +1 -0
- package/dist/oxlint/rules/NoCrossSurface.d.ts +16 -0
- package/dist/oxlint/rules/NoCrossSurface.d.ts.map +1 -0
- package/dist/oxlint/rules/NoCrossSurface.js +55 -0
- package/dist/oxlint/rules/NoCrossSurface.js.map +1 -0
- package/dist/oxlint/rules/NoInternalImports.d.ts +8 -0
- package/dist/oxlint/rules/NoInternalImports.d.ts.map +1 -0
- package/dist/oxlint/rules/NoInternalImports.js +22 -0
- package/dist/oxlint/rules/NoInternalImports.js.map +1 -0
- package/dist/oxlint/rules/NoRawValues.d.ts +9 -0
- package/dist/oxlint/rules/NoRawValues.d.ts.map +1 -0
- package/dist/oxlint/rules/NoRawValues.js +73 -0
- package/dist/oxlint/rules/NoRawValues.js.map +1 -0
- package/dist/oxlint/rules/PreferComponent.d.ts +16 -0
- package/dist/oxlint/rules/PreferComponent.d.ts.map +1 -0
- package/dist/oxlint/rules/PreferComponent.js +92 -0
- package/dist/oxlint/rules/PreferComponent.js.map +1 -0
- package/dist/oxlint/rules/RequireAccessibleName.d.ts +9 -0
- package/dist/oxlint/rules/RequireAccessibleName.d.ts.map +1 -0
- package/dist/oxlint/rules/RequireAccessibleName.js +104 -0
- package/dist/oxlint/rules/RequireAccessibleName.js.map +1 -0
- package/dist/web/components/Accordion.css +1 -1
- package/dist/web/components/Accordion.d.ts +7 -7
- package/dist/web/components/Accordion.js.map +1 -1
- package/dist/web/components/Accordion.js.zyzz.json +1 -1
- package/dist/web/components/AlertDialog.css +1 -1
- package/dist/web/components/AlertDialog.d.ts.map +1 -1
- package/dist/web/components/AlertDialog.js +1 -1
- package/dist/web/components/AlertDialog.js.map +1 -1
- package/dist/web/components/AlertDialog.js.zyzz.json +1 -1
- package/dist/web/components/Amount.d.ts +10 -3
- package/dist/web/components/Amount.d.ts.map +1 -1
- package/dist/web/components/Amount.js +19 -9
- package/dist/web/components/Amount.js.map +1 -1
- package/dist/web/components/Amount.js.zyzz.json +1 -1
- package/dist/web/components/AmountInput.css +1 -1
- package/dist/web/components/AmountInput.d.ts +15 -2
- package/dist/web/components/AmountInput.d.ts.map +1 -1
- package/dist/web/components/AmountInput.js +43 -12
- package/dist/web/components/AmountInput.js.map +1 -1
- package/dist/web/components/AmountInput.js.zyzz.json +1 -1
- package/dist/web/components/AppShell.css +1 -1
- package/dist/web/components/AppShell.d.ts +10 -10
- package/dist/web/components/AppShell.js.map +1 -1
- package/dist/web/components/AppShell.js.zyzz.json +1 -1
- package/dist/web/components/Autocomplete.js.zyzz.json +1 -1
- package/dist/web/components/Avatar.css +1 -1
- package/dist/web/components/Avatar.d.ts +3 -3
- package/dist/web/components/Avatar.js.map +1 -1
- package/dist/web/components/Avatar.js.zyzz.json +1 -1
- package/dist/web/components/Banner.css +1 -1
- package/dist/web/components/Banner.js +3 -3
- package/dist/web/components/Banner.js.map +1 -1
- package/dist/web/components/Banner.js.zyzz.json +1 -1
- package/dist/web/components/Breadcrumbs.css +1 -1
- package/dist/web/components/Breadcrumbs.d.ts +4 -4
- package/dist/web/components/Breadcrumbs.js.map +1 -1
- package/dist/web/components/Breadcrumbs.js.zyzz.json +1 -1
- package/dist/web/components/Button.css +1 -1
- package/dist/web/components/Button.d.ts +12 -11
- package/dist/web/components/Button.d.ts.map +1 -1
- package/dist/web/components/Button.js +2 -2
- package/dist/web/components/Button.js.map +1 -1
- package/dist/web/components/Button.js.zyzz.json +1 -1
- package/dist/web/components/Calendar.css +1 -1
- package/dist/web/components/Calendar.d.ts.map +1 -1
- package/dist/web/components/Calendar.js +7 -5
- package/dist/web/components/Calendar.js.map +1 -1
- package/dist/web/components/Calendar.js.zyzz.json +1 -1
- package/dist/web/components/Callout.css +1 -1
- package/dist/web/components/Callout.d.ts +6 -6
- package/dist/web/components/Callout.d.ts.map +1 -1
- package/dist/web/components/Callout.js +5 -2
- package/dist/web/components/Callout.js.map +1 -1
- package/dist/web/components/Callout.js.zyzz.json +1 -1
- package/dist/web/components/Checkbox.css +1 -1
- package/dist/web/components/Checkbox.d.ts +8 -8
- package/dist/web/components/Checkbox.js.map +1 -1
- package/dist/web/components/Checkbox.js.zyzz.json +1 -1
- package/dist/web/components/CheckboxGroup.js.zyzz.json +1 -1
- package/dist/web/components/ChoiceGroup.css +1 -1
- package/dist/web/components/ChoiceGroup.d.ts +2 -2
- package/dist/web/components/ChoiceGroup.d.ts.map +1 -1
- package/dist/web/components/ChoiceGroup.js +2 -2
- package/dist/web/components/ChoiceGroup.js.map +1 -1
- package/dist/web/components/ChoiceGroup.js.zyzz.json +1 -1
- package/dist/web/components/Choicebox.css +1 -1
- package/dist/web/components/Choicebox.d.ts +4 -4
- package/dist/web/components/Choicebox.js +1 -1
- package/dist/web/components/Choicebox.js.map +1 -1
- package/dist/web/components/Choicebox.js.zyzz.json +1 -1
- package/dist/web/components/Combobox.css +1 -1
- package/dist/web/components/Combobox.js.map +1 -1
- package/dist/web/components/Combobox.js.zyzz.json +1 -1
- package/dist/web/components/Container.js.zyzz.json +1 -1
- package/dist/web/components/CopyButton.js.zyzz.json +1 -1
- package/dist/web/components/DatePicker.css +1 -1
- package/dist/web/components/DatePicker.d.ts +20 -20
- package/dist/web/components/DatePicker.d.ts.map +1 -1
- package/dist/web/components/DatePicker.js +2 -2
- package/dist/web/components/DatePicker.js.map +1 -1
- package/dist/web/components/DatePicker.js.zyzz.json +1 -1
- package/dist/web/components/Dialog.css +1 -1
- package/dist/web/components/Dialog.d.ts.map +1 -1
- package/dist/web/components/Dialog.js +3 -3
- package/dist/web/components/Dialog.js.map +1 -1
- package/dist/web/components/Dialog.js.zyzz.json +1 -1
- package/dist/web/components/Drawer.css +1 -1
- package/dist/web/components/Drawer.js +2 -2
- package/dist/web/components/Drawer.js.map +1 -1
- package/dist/web/components/Drawer.js.zyzz.json +1 -1
- package/dist/web/components/Empty.js.zyzz.json +1 -1
- package/dist/web/components/Field.css +1 -1
- package/dist/web/components/Field.d.ts +7 -0
- package/dist/web/components/Field.d.ts.map +1 -1
- package/dist/web/components/Field.js +25 -3
- package/dist/web/components/Field.js.map +1 -1
- package/dist/web/components/Field.js.zyzz.json +1 -1
- package/dist/web/components/Fieldset.js.zyzz.json +1 -1
- package/dist/web/components/Frame.css +1 -1
- package/dist/web/components/Frame.d.ts +27 -10
- package/dist/web/components/Frame.d.ts.map +1 -1
- package/dist/web/components/Frame.js +12 -5
- package/dist/web/components/Frame.js.map +1 -1
- package/dist/web/components/Frame.js.zyzz.json +1 -1
- package/dist/web/components/Gauge.css +1 -1
- package/dist/web/components/Gauge.js.map +1 -1
- package/dist/web/components/Gauge.js.zyzz.json +1 -1
- package/dist/web/components/Grid.js.zyzz.json +1 -1
- package/dist/web/components/Hex.css +1 -1
- package/dist/web/components/Hex.d.ts +5 -5
- package/dist/web/components/Hex.js +1 -1
- package/dist/web/components/Hex.js.map +1 -1
- package/dist/web/components/Hex.js.zyzz.json +1 -1
- package/dist/web/components/IconChip.css +1 -1
- package/dist/web/components/IconChip.d.ts +1 -1
- package/dist/web/components/IconChip.js.map +1 -1
- package/dist/web/components/IconChip.js.zyzz.json +1 -1
- package/dist/web/components/Identicon.js.zyzz.json +1 -1
- package/dist/web/components/Inline.js.zyzz.json +1 -1
- package/dist/web/components/Input.css +1 -1
- package/dist/web/components/Input.js.map +1 -1
- package/dist/web/components/Input.js.zyzz.json +1 -1
- package/dist/web/components/Inset.js.zyzz.json +1 -1
- package/dist/web/components/Kbd.css +1 -1
- package/dist/web/components/Kbd.d.ts +32 -10
- package/dist/web/components/Kbd.d.ts.map +1 -1
- package/dist/web/components/Kbd.js +55 -13
- package/dist/web/components/Kbd.js.map +1 -1
- package/dist/web/components/Kbd.js.zyzz.json +1 -1
- package/dist/web/components/LoadingDots.css +1 -1
- package/dist/web/components/LoadingDots.d.ts +2 -2
- package/dist/web/components/LoadingDots.js.map +1 -1
- package/dist/web/components/LoadingDots.js.zyzz.json +1 -1
- package/dist/web/components/Menu.css +1 -1
- package/dist/web/components/Menu.d.ts +11 -11
- package/dist/web/components/Menu.d.ts.map +1 -1
- package/dist/web/components/Menu.js +2 -2
- package/dist/web/components/Menu.js.map +1 -1
- package/dist/web/components/Menu.js.zyzz.json +1 -1
- package/dist/web/components/NumberField.css +1 -1
- package/dist/web/components/NumberField.js +1 -1
- package/dist/web/components/NumberField.js.map +1 -1
- package/dist/web/components/NumberField.js.zyzz.json +1 -1
- package/dist/web/components/OtpField.css +1 -1
- package/dist/web/components/OtpField.d.ts.map +1 -1
- package/dist/web/components/OtpField.js +1 -1
- package/dist/web/components/OtpField.js.map +1 -1
- package/dist/web/components/OtpField.js.zyzz.json +1 -1
- package/dist/web/components/Pagination.css +1 -1
- package/dist/web/components/Pagination.d.ts +13 -13
- package/dist/web/components/Pagination.js +1 -1
- package/dist/web/components/Pagination.js.map +1 -1
- package/dist/web/components/Pagination.js.zyzz.json +1 -1
- package/dist/web/components/Popover.css +1 -1
- package/dist/web/components/Popover.d.ts.map +1 -1
- package/dist/web/components/Popover.js +1 -1
- package/dist/web/components/Popover.js.map +1 -1
- package/dist/web/components/Popover.js.zyzz.json +1 -1
- package/dist/web/components/Progress.css +1 -1
- package/dist/web/components/Progress.js.map +1 -1
- package/dist/web/components/Progress.js.zyzz.json +1 -1
- package/dist/web/components/Qr.js.zyzz.json +1 -1
- package/dist/web/components/RadioGroup.css +1 -1
- package/dist/web/components/RadioGroup.d.ts +4 -4
- package/dist/web/components/RadioGroup.js.map +1 -1
- package/dist/web/components/RadioGroup.js.zyzz.json +1 -1
- package/dist/web/components/Rows.css +1 -1
- package/dist/web/components/Rows.d.ts +7 -7
- package/dist/web/components/Rows.d.ts.map +1 -1
- package/dist/web/components/Rows.js +3 -3
- package/dist/web/components/Rows.js.map +1 -1
- package/dist/web/components/Rows.js.zyzz.json +1 -1
- package/dist/web/components/SecretValue.css +1 -1
- package/dist/web/components/SecretValue.d.ts +4 -4
- package/dist/web/components/SecretValue.js +1 -1
- package/dist/web/components/SecretValue.js.map +1 -1
- package/dist/web/components/SecretValue.js.zyzz.json +1 -1
- package/dist/web/components/Select.css +1 -1
- package/dist/web/components/Select.js.map +1 -1
- package/dist/web/components/Select.js.zyzz.json +1 -1
- package/dist/web/components/Separator.js.zyzz.json +1 -1
- package/dist/web/components/SidebarMenu.css +1 -1
- package/dist/web/components/SidebarMenu.d.ts +11 -11
- package/dist/web/components/SidebarMenu.d.ts.map +1 -1
- package/dist/web/components/SidebarMenu.js +1 -1
- package/dist/web/components/SidebarMenu.js.map +1 -1
- package/dist/web/components/SidebarMenu.js.zyzz.json +1 -1
- package/dist/web/components/Skeleton.js.zyzz.json +1 -1
- package/dist/web/components/Slider.css +1 -1
- package/dist/web/components/Slider.d.ts.map +1 -1
- package/dist/web/components/Slider.js.map +1 -1
- package/dist/web/components/Slider.js.zyzz.json +1 -1
- package/dist/web/components/Snippet.css +1 -1
- package/dist/web/components/Snippet.d.ts +4 -4
- package/dist/web/components/Snippet.js +2 -2
- package/dist/web/components/Snippet.js.map +1 -1
- package/dist/web/components/Snippet.js.zyzz.json +1 -1
- package/dist/web/components/Spinner.js.zyzz.json +1 -1
- package/dist/web/components/SplitButton.css +1 -1
- package/dist/web/components/SplitButton.d.ts.map +1 -1
- package/dist/web/components/SplitButton.js +1 -1
- package/dist/web/components/SplitButton.js.map +1 -1
- package/dist/web/components/SplitButton.js.zyzz.json +1 -1
- package/dist/web/components/Stack.js.zyzz.json +1 -1
- package/dist/web/components/Stepper.css +1 -1
- package/dist/web/components/Stepper.d.ts +1 -1
- package/dist/web/components/Stepper.js.map +1 -1
- package/dist/web/components/Stepper.js.zyzz.json +1 -1
- package/dist/web/components/Surface.css +1 -1
- package/dist/web/components/Surface.d.ts +46 -46
- package/dist/web/components/Surface.js +2 -2
- package/dist/web/components/Surface.js.map +1 -1
- package/dist/web/components/Surface.js.zyzz.json +1 -1
- package/dist/web/components/Switch.css +1 -1
- package/dist/web/components/Switch.d.ts +14 -14
- package/dist/web/components/Switch.d.ts.map +1 -1
- package/dist/web/components/Switch.js.map +1 -1
- package/dist/web/components/Switch.js.zyzz.json +1 -1
- package/dist/web/components/Table.css +1 -1
- package/dist/web/components/Table.d.ts +10 -7
- package/dist/web/components/Table.d.ts.map +1 -1
- package/dist/web/components/Table.js +5 -2
- package/dist/web/components/Table.js.map +1 -1
- package/dist/web/components/Table.js.zyzz.json +1 -1
- package/dist/web/components/Tabs.css +1 -1
- package/dist/web/components/Tabs.d.ts +14 -14
- package/dist/web/components/Tabs.js +1 -1
- package/dist/web/components/Tabs.js.map +1 -1
- package/dist/web/components/Tabs.js.zyzz.json +1 -1
- package/dist/web/components/Tag.css +1 -1
- package/dist/web/components/Tag.d.ts +10 -10
- package/dist/web/components/Tag.js +1 -1
- package/dist/web/components/Tag.js.map +1 -1
- package/dist/web/components/Tag.js.zyzz.json +1 -1
- package/dist/web/components/Textarea.css +1 -1
- package/dist/web/components/Textarea.d.ts +15 -15
- package/dist/web/components/Textarea.js.map +1 -1
- package/dist/web/components/Textarea.js.zyzz.json +1 -1
- package/dist/web/components/Toast.css +1 -1
- package/dist/web/components/Toast.d.ts.map +1 -1
- package/dist/web/components/Toast.js +7 -3
- package/dist/web/components/Toast.js.map +1 -1
- package/dist/web/components/Toast.js.zyzz.json +1 -1
- package/dist/web/components/Token.js.zyzz.json +1 -1
- package/dist/web/components/Tooltip.css +1 -1
- package/dist/web/components/Tooltip.d.ts.map +1 -1
- package/dist/web/components/Tooltip.js +1 -1
- package/dist/web/components/Tooltip.js.map +1 -1
- package/dist/web/components/Tooltip.js.zyzz.json +1 -1
- package/dist/web/components/internal/Field.css +1 -1
- package/dist/web/components/internal/Field.d.ts +7 -7
- package/dist/web/components/internal/Field.js.map +1 -1
- package/dist/web/components/internal/Field.js.zyzz.json +1 -1
- package/dist/web/components/internal/InputGroup.css +1 -1
- package/dist/web/components/internal/InputGroup.d.ts +12 -12
- package/dist/web/components/internal/InputGroup.d.ts.map +1 -1
- package/dist/web/components/internal/InputGroup.js +1 -1
- package/dist/web/components/internal/InputGroup.js.map +1 -1
- package/dist/web/components/internal/InputGroup.js.zyzz.json +1 -1
- package/dist/web/components/internal/Listbox.css +1 -1
- package/dist/web/components/internal/Listbox.d.ts +9 -9
- package/dist/web/components/internal/Listbox.d.ts.map +1 -1
- package/dist/web/components/internal/Listbox.js +1 -1
- package/dist/web/components/internal/Listbox.js.map +1 -1
- package/dist/web/components/internal/Listbox.js.zyzz.json +1 -1
- package/dist/web/icons/BadgeX.d.ts.map +1 -1
- package/dist/web/icons/BadgeX.js.map +1 -1
- package/dist/web/icons/InfinityIcon.d.ts.map +1 -1
- package/dist/web/icons/InfinityIcon.js.map +1 -1
- package/dist/web/icons/LightMode.d.ts.map +1 -1
- package/dist/web/icons/LightMode.js.map +1 -1
- package/dist/web/icons/OctagonAlert.d.ts.map +1 -1
- package/dist/web/icons/OctagonAlert.js.map +1 -1
- package/dist/web/icons/Unlink.d.ts.map +1 -1
- package/dist/web/icons/Unlink.js.map +1 -1
- package/dist/web/index.js.zyzz.json +1 -1
- package/dist/web/vars.d.ts +91 -0
- package/dist/web/vars.d.ts.map +1 -1
- package/dist/web/vars.js.map +1 -1
- package/dist/web/vars.js.zyzz.json +1 -1
- package/dist/web/zyzz.config.d.ts +455 -0
- package/dist/web/zyzz.config.d.ts.map +1 -1
- package/dist/web/zyzz.config.js.zyzz.json +1 -1
- package/package.json +7 -1
- package/src/mobile/components/Avatar.tsx +2 -2
- package/src/mobile/components/Button.tsx +6 -3
- package/src/mobile/components/CodeInput.tsx +2 -2
- package/src/mobile/components/IconButton.tsx +6 -3
- package/src/mobile/components/Skeleton.tsx +1 -1
- package/src/mobile/components/Spinner.tsx +4 -5
- package/src/mobile/components/TextButton.tsx +6 -2
- package/src/mobile/components/TextInput.tsx +1 -1
- package/src/mobile/components/Toast.tsx +1 -2
- package/src/mobile/components/Toggle.tsx +2 -2
- package/src/mobile/vars.ts +14 -0
- package/src/oxlint/index.ts +89 -0
- package/src/oxlint/internal/Imports.ts +68 -0
- package/src/oxlint/rules/NoCrossSurface.ts +71 -0
- package/src/oxlint/rules/NoInternalImports.ts +25 -0
- package/src/oxlint/rules/NoRawValues.ts +76 -0
- package/src/oxlint/rules/PreferComponent.ts +113 -0
- package/src/oxlint/rules/RequireAccessibleName.ts +132 -0
- package/src/web/components/Accordion.tsx +8 -8
- package/src/web/components/AlertDialog.tsx +11 -8
- package/src/web/components/Amount.tsx +29 -9
- package/src/web/components/AmountInput.tsx +60 -24
- package/src/web/components/AppShell.tsx +23 -23
- package/src/web/components/Avatar.tsx +3 -3
- package/src/web/components/Banner.tsx +16 -16
- package/src/web/components/Breadcrumbs.tsx +4 -4
- package/src/web/components/Button.tsx +15 -12
- package/src/web/components/Calendar.tsx +10 -11
- package/src/web/components/Callout.tsx +19 -16
- package/src/web/components/Checkbox.tsx +9 -9
- package/src/web/components/ChoiceGroup.tsx +13 -14
- package/src/web/components/Choicebox.tsx +21 -21
- package/src/web/components/Combobox.tsx +3 -3
- package/src/web/components/DatePicker.tsx +25 -25
- package/src/web/components/Dialog.tsx +28 -19
- package/src/web/components/Drawer.tsx +8 -8
- package/src/web/components/Field.tsx +46 -11
- package/src/web/components/Frame.tsx +30 -9
- package/src/web/components/Gauge.tsx +1 -1
- package/src/web/components/Hex.tsx +5 -5
- package/src/web/components/IconChip.tsx +1 -1
- package/src/web/components/Input.tsx +11 -11
- package/src/web/components/Kbd.tsx +77 -21
- package/src/web/components/LoadingDots.tsx +4 -4
- package/src/web/components/Menu.tsx +17 -14
- package/src/web/components/NumberField.tsx +17 -17
- package/src/web/components/OtpField.tsx +14 -6
- package/src/web/components/Pagination.tsx +13 -13
- package/src/web/components/Popover.tsx +14 -11
- package/src/web/components/Progress.tsx +2 -2
- package/src/web/components/RadioGroup.tsx +11 -11
- package/src/web/components/Rows.tsx +8 -9
- package/src/web/components/SecretValue.tsx +4 -4
- package/src/web/components/Select.tsx +2 -2
- package/src/web/components/SidebarMenu.tsx +14 -15
- package/src/web/components/Slider.tsx +6 -7
- package/src/web/components/Snippet.tsx +9 -9
- package/src/web/components/SplitButton.tsx +17 -5
- package/src/web/components/Stepper.tsx +1 -1
- package/src/web/components/Surface.tsx +47 -47
- package/src/web/components/Switch.tsx +21 -23
- package/src/web/components/Table.tsx +11 -7
- package/src/web/components/Tabs.tsx +14 -14
- package/src/web/components/Tag.tsx +12 -12
- package/src/web/components/Textarea.tsx +15 -15
- package/src/web/components/Toast.tsx +28 -21
- package/src/web/components/Tooltip.tsx +12 -9
- package/src/web/components/internal/Field.ts +20 -20
- package/src/web/components/internal/InputGroup.ts +13 -14
- package/src/web/components/internal/Listbox.ts +19 -16
- package/src/web/icons/BadgeX.tsx +1 -1
- package/src/web/icons/InfinityIcon.tsx +1 -1
- package/src/web/icons/LightMode.tsx +1 -1
- package/src/web/icons/OctagonAlert.tsx +1 -1
- package/src/web/icons/Unlink.tsx +1 -1
- package/src/web/vars.ts +81 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Keeps a file, or a whole app, on one `@tempoxyz/ds` surface. @module */
|
|
2
|
+
import type { Rule } from '@oxlint/plugins';
|
|
3
|
+
import * as Imports from '../internal/Imports.ts';
|
|
4
|
+
/**
|
|
5
|
+
* Reports an import from the other surface. With `surface` set, every import from the other surface
|
|
6
|
+
* is reported. Without it, the rule reports a file that imports from both surfaces.
|
|
7
|
+
*/
|
|
8
|
+
export declare const rule: Rule;
|
|
9
|
+
export declare namespace rule {
|
|
10
|
+
/** Options for `tds/no-cross-surface`. */
|
|
11
|
+
type Options = {
|
|
12
|
+
/** The surface the app renders. When absent, the rule checks each file on its own. */
|
|
13
|
+
surface?: Imports.Surface | undefined;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=NoCrossSurface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoCrossSurface.d.ts","sourceRoot":"","sources":["../../../src/oxlint/rules/NoCrossSurface.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,OAAO,KAAK,EAAU,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AAEjD;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,IAsDlB,CAAA;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,0CAA0C;IAC1C,KAAK,OAAO,GAAG;QACb,sFAAsF;QACtF,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,GAAG,SAAS,CAAA;KACtC,CAAA;CACF"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as Imports from '../internal/Imports.js';
|
|
2
|
+
/**
|
|
3
|
+
* Reports an import from the other surface. With `surface` set, every import from the other surface
|
|
4
|
+
* is reported. Without it, the rule reports a file that imports from both surfaces.
|
|
5
|
+
*/
|
|
6
|
+
export const rule = {
|
|
7
|
+
meta: {
|
|
8
|
+
docs: { description: 'Keep an app on one `@tempoxyz/ds` surface.' },
|
|
9
|
+
messages: {
|
|
10
|
+
configured: "'{{source}}' belongs to the {{found}} surface, but this app uses the {{surface}} surface.",
|
|
11
|
+
mixed: "'{{source}}' belongs to the {{found}} surface, but this file imports the {{surface}} surface.",
|
|
12
|
+
},
|
|
13
|
+
schema: [
|
|
14
|
+
{
|
|
15
|
+
additionalProperties: false,
|
|
16
|
+
properties: { surface: { enum: ['mobile', 'web'], type: 'string' } },
|
|
17
|
+
type: 'object',
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
type: 'problem',
|
|
21
|
+
},
|
|
22
|
+
create(context) {
|
|
23
|
+
const options = context.options[0];
|
|
24
|
+
const references = [];
|
|
25
|
+
return {
|
|
26
|
+
...Imports.visit((source, node) => {
|
|
27
|
+
const surface = Imports.surface(source);
|
|
28
|
+
if (!surface)
|
|
29
|
+
return;
|
|
30
|
+
if (options?.surface && surface !== options.surface)
|
|
31
|
+
context.report({
|
|
32
|
+
data: { found: surface, source, surface: options.surface },
|
|
33
|
+
messageId: 'configured',
|
|
34
|
+
node,
|
|
35
|
+
});
|
|
36
|
+
references.push({ node, source, surface });
|
|
37
|
+
}),
|
|
38
|
+
'Program:exit'() {
|
|
39
|
+
if (options?.surface)
|
|
40
|
+
return;
|
|
41
|
+
const first = references[0];
|
|
42
|
+
if (!first)
|
|
43
|
+
return;
|
|
44
|
+
for (const reference of references)
|
|
45
|
+
if (reference.surface !== first.surface)
|
|
46
|
+
context.report({
|
|
47
|
+
data: { found: reference.surface, source: reference.source, surface: first.surface },
|
|
48
|
+
messageId: 'mixed',
|
|
49
|
+
node: reference.node,
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=NoCrossSurface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoCrossSurface.js","sourceRoot":"","sources":["../../../src/oxlint/rules/NoCrossSurface.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AAEjD;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,EAAE,WAAW,EAAE,4CAA4C,EAAE;QACnE,QAAQ,EAAE;YACR,UAAU,EACR,2FAA2F;YAC7F,KAAK,EACH,+FAA+F;SAClG;QACD,MAAM,EAAE;YACN;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,K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AI,EAAE,SAAS,CAAC,IAAI;yBACrB,CAAC,CAAA;YACR,CAAC;SACF,CAAA;IACH,CAAC;CACF,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Restricts `@tempoxyz/ds` imports to the subpaths that the package publishes. @module */
|
|
2
|
+
import type { Rule } from '@oxlint/plugins';
|
|
3
|
+
/**
|
|
4
|
+
* Reports a `@tempoxyz/ds` specifier that the package `exports` map does not publish, such as
|
|
5
|
+
* `@tempoxyz/ds/src/web/components/Button`. Internal paths change without a release note.
|
|
6
|
+
*/
|
|
7
|
+
export declare const rule: Rule;
|
|
8
|
+
//# sourceMappingURL=NoInternalImports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoInternalImports.d.ts","sourceRoot":"","sources":["../../../src/oxlint/rules/NoInternalImports.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAG3C;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,IAgBlB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Imports from '../internal/Imports.js';
|
|
2
|
+
/**
|
|
3
|
+
* Reports a `@tempoxyz/ds` specifier that the package `exports` map does not publish, such as
|
|
4
|
+
* `@tempoxyz/ds/src/web/components/Button`. Internal paths change without a release note.
|
|
5
|
+
*/
|
|
6
|
+
export const rule = {
|
|
7
|
+
meta: {
|
|
8
|
+
docs: { description: 'Allow only the published `@tempoxyz/ds` entrypoints.' },
|
|
9
|
+
messages: {
|
|
10
|
+
internal: "'{{source}}' is not a published entrypoint. Import from '@tempoxyz/ds', '@tempoxyz/ds/mobile', or their `icons` subpaths.",
|
|
11
|
+
},
|
|
12
|
+
schema: [],
|
|
13
|
+
type: 'problem',
|
|
14
|
+
},
|
|
15
|
+
create(context) {
|
|
16
|
+
return Imports.visit((source, node) => {
|
|
17
|
+
if (Imports.owned(source) && !Imports.published(source))
|
|
18
|
+
context.report({ data: { source }, messageId: 'internal', node });
|
|
19
|
+
});
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=NoInternalImports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoInternalImports.js","sourceRoot":"","sources":["../../../src/oxlint/rules/NoInternalImports.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AAEjD;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAE;QAC7E,QAAQ,EAAE;YACR,QAAQ,EACN,2HAA2H;SAC9H;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,SAAS;KAChB;IACD,MAAM,CAAC,OAAO;QACZ,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE;YACpC,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;gBACrD,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAA;QACrE,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Finds raw colors, lengths, and font stacks in inline `style` props. @module */
|
|
2
|
+
import type { Rule } from '@oxlint/plugins';
|
|
3
|
+
/**
|
|
4
|
+
* Reports a color, length, or font family written as a literal in a JSX `style` prop. Values that
|
|
5
|
+
* read a custom property through `var()` pass, since they resolve to a token. Style values
|
|
6
|
+
* inside `style()` and `variants()` calls belong to `zyzz/valid-styles`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const rule: Rule;
|
|
9
|
+
//# sourceMappingURL=NoRawValues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoRawValues.d.ts","sourceRoot":"","sources":["../../../src/oxlint/rules/NoRawValues.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,OAAO,KAAK,EAAU,IAAI,EAAE,MAAM,iBAAiB,CAAA;AASnD;;;;GAIG;AACH,eAAO,MAAM,IAAI,EAAE,IA4DlB,CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
const color = /#[\da-f]{3,8}\b|\b(?:color|hsla?|hwb|lab|lch|oklab|oklch|rgba?)\(/i;
|
|
2
|
+
const length = /(?:^|[\s(,])-?(?:\d*\.)?\d+(?:em|pt|px|rem)\b/i;
|
|
3
|
+
// React and React Native read a bare number on these properties as pixels or points.
|
|
4
|
+
const lengths = /^(?:bottom|columnGap|end|flexBasis|fontSize|gap|height|inset\w*|left|margin\w*|maxHeight|maxWidth|minHeight|minWidth|padding\w*|right|rowGap|start|top|width|\w*Radius|\w*Width)$/;
|
|
5
|
+
/**
|
|
6
|
+
* Reports a color, length, or font family written as a literal in a JSX `style` prop. Values that
|
|
7
|
+
* read a custom property through `var()` pass, since they resolve to a token. Style values
|
|
8
|
+
* inside `style()` and `variants()` calls belong to `zyzz/valid-styles`.
|
|
9
|
+
*/
|
|
10
|
+
export const rule = {
|
|
11
|
+
meta: {
|
|
12
|
+
docs: { description: 'Use design tokens instead of raw values in inline styles.' },
|
|
13
|
+
messages: {
|
|
14
|
+
raw: "'{{property}}' sets the raw value {{value}}. Use a token through a Zyzz style instead.",
|
|
15
|
+
},
|
|
16
|
+
schema: [],
|
|
17
|
+
type: 'suggestion',
|
|
18
|
+
},
|
|
19
|
+
create(context) {
|
|
20
|
+
function raw(property, node) {
|
|
21
|
+
if (node.type === 'UnaryExpression' && node.operator === '-')
|
|
22
|
+
return raw(property, node.argument);
|
|
23
|
+
if (node.type === 'Literal' && typeof node.value === 'number')
|
|
24
|
+
return node.value !== 0 && lengths.test(property);
|
|
25
|
+
if (node.type === 'TemplateLiteral' && node.expressions.length === 0)
|
|
26
|
+
return text(property, node.quasis.map((quasi) => quasi.value.cooked ?? '').join(''));
|
|
27
|
+
if (node.type === 'Literal' && typeof node.value === 'string')
|
|
28
|
+
return text(property, node.value);
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
function text(property, value) {
|
|
32
|
+
if (value.includes('var('))
|
|
33
|
+
return false;
|
|
34
|
+
return property === 'fontFamily' || color.test(value) || length.test(value);
|
|
35
|
+
}
|
|
36
|
+
function check(node) {
|
|
37
|
+
if (node.type !== 'ObjectExpression')
|
|
38
|
+
return;
|
|
39
|
+
for (const property of node.properties) {
|
|
40
|
+
if (property.type !== 'Property' || property.computed)
|
|
41
|
+
continue;
|
|
42
|
+
const key = (() => {
|
|
43
|
+
if (property.key.type === 'Identifier')
|
|
44
|
+
return property.key.name;
|
|
45
|
+
if (property.key.type === 'Literal')
|
|
46
|
+
return String(property.key.value);
|
|
47
|
+
return undefined;
|
|
48
|
+
})();
|
|
49
|
+
if (key !== undefined && raw(key, property.value))
|
|
50
|
+
context.report({
|
|
51
|
+
data: { property: key, value: context.sourceCode.getText(property.value) },
|
|
52
|
+
messageId: 'raw',
|
|
53
|
+
node: property.value,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
JSXAttribute(node) {
|
|
59
|
+
if (node.name.type !== 'JSXIdentifier' || node.name.name !== 'style')
|
|
60
|
+
return;
|
|
61
|
+
if (node.value?.type !== 'JSXExpressionContainer')
|
|
62
|
+
return;
|
|
63
|
+
const expression = node.value.expression;
|
|
64
|
+
if (expression.type === 'ArrayExpression')
|
|
65
|
+
for (const element of expression.elements)
|
|
66
|
+
if (element)
|
|
67
|
+
check(element);
|
|
68
|
+
check(expression);
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=NoRawValues.js.map
|
|
@@ -0,0 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KAAK;qBACrB,CAAC,CAAA;YACN,CAAC;QACH,CAAC;QAED,OAAO;YACL,YAAY,CAAC,IAAI;gBACf,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO;oBAAE,OAAM;gBAC5E,IAAI,IAAI,CAAC,KAAK,EAAE,IAAI,KAAK,wBAAwB;oBAAE,OAAM;gBAEzD,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAA;gBAExC,IAAI,UAAU,CAAC,IAAI,KAAK,iBAAiB;oBACvC,KAAK,MAAM,OAAO,IAAI,UAAU,CAAC,QAAQ;wBAAE,IAAI,OAAO;4BAAE,KAAK,CAAC,OAAO,CAAC,CAAA;gBACxE,KAAK,CAAC,UAAU,CAAC,CAAA;YACnB,CAAC;SACF,CAAA;IACH,CAAC;CACF,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Points native HTML controls and structures at the Web components that replace them. @module */
|
|
2
|
+
import type { Rule } from '@oxlint/plugins';
|
|
3
|
+
/**
|
|
4
|
+
* Reports a native element that a `@tempoxyz/ds` component replaces, such as `<button>` or
|
|
5
|
+
* `<input type="checkbox">`. Elements inside a `render` prop are skipped, since the component that
|
|
6
|
+
* receives them supplies the styles.
|
|
7
|
+
*/
|
|
8
|
+
export declare const rule: Rule;
|
|
9
|
+
export declare namespace rule {
|
|
10
|
+
/** Options for `tds/prefer-component`. */
|
|
11
|
+
type Options = {
|
|
12
|
+
/** Element names to accept, such as `['table']` for a page that renders raw data. */
|
|
13
|
+
allow?: readonly string[] | undefined;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=PreferComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreferComponent.d.ts","sourceRoot":"","sources":["../../../src/oxlint/rules/PreferComponent.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,OAAO,KAAK,EAAU,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAmCnD;;;;GAIG;AACH,eAAO,MAAM,IAAI,EAAE,IA+DlB,CAAA;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,0CAA0C;IAC1C,KAAK,OAAO,GAAG;QACb,qFAAqF;QACrF,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAA;KACtC,CAAA;CACF"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// Each element maps to the component that renders it with Tempo styles, states, and semantics.
|
|
2
|
+
const elements = {
|
|
3
|
+
button: 'Button',
|
|
4
|
+
details: 'Accordion',
|
|
5
|
+
dialog: 'Dialog',
|
|
6
|
+
fieldset: 'Fieldset',
|
|
7
|
+
hr: 'Separator',
|
|
8
|
+
kbd: 'Kbd',
|
|
9
|
+
meter: 'Gauge',
|
|
10
|
+
progress: 'Progress',
|
|
11
|
+
select: 'Select',
|
|
12
|
+
table: 'Table',
|
|
13
|
+
textarea: 'Textarea',
|
|
14
|
+
};
|
|
15
|
+
// Input types without an entry, such as `file`, `hidden`, and `color`, have no replacement.
|
|
16
|
+
const inputs = {
|
|
17
|
+
button: 'Button',
|
|
18
|
+
checkbox: 'Checkbox',
|
|
19
|
+
date: 'DatePicker',
|
|
20
|
+
email: 'Input',
|
|
21
|
+
number: 'NumberField',
|
|
22
|
+
password: 'Input',
|
|
23
|
+
radio: 'RadioGroup',
|
|
24
|
+
range: 'Slider',
|
|
25
|
+
reset: 'Button',
|
|
26
|
+
search: 'Input',
|
|
27
|
+
submit: 'Button',
|
|
28
|
+
tel: 'Input',
|
|
29
|
+
text: 'Input',
|
|
30
|
+
url: 'Input',
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Reports a native element that a `@tempoxyz/ds` component replaces, such as `<button>` or
|
|
34
|
+
* `<input type="checkbox">`. Elements inside a `render` prop are skipped, since the component that
|
|
35
|
+
* receives them supplies the styles.
|
|
36
|
+
*/
|
|
37
|
+
export const rule = {
|
|
38
|
+
meta: {
|
|
39
|
+
docs: {
|
|
40
|
+
description: 'Prefer `@tempoxyz/ds` components over the native elements they replace.',
|
|
41
|
+
},
|
|
42
|
+
messages: {
|
|
43
|
+
component: "Use '{{component}}' from '@tempoxyz/ds' instead of <{{element}}>.",
|
|
44
|
+
},
|
|
45
|
+
schema: [
|
|
46
|
+
{
|
|
47
|
+
additionalProperties: false,
|
|
48
|
+
properties: { allow: { items: { type: 'string' }, type: 'array' } },
|
|
49
|
+
type: 'object',
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
type: 'suggestion',
|
|
53
|
+
},
|
|
54
|
+
create(context) {
|
|
55
|
+
const options = context.options[0];
|
|
56
|
+
const allow = new Set(options?.allow);
|
|
57
|
+
function component(node) {
|
|
58
|
+
if (node.name.type !== 'JSXIdentifier')
|
|
59
|
+
return undefined;
|
|
60
|
+
const element = node.name.name;
|
|
61
|
+
if (element !== 'input')
|
|
62
|
+
return elements[element];
|
|
63
|
+
const type = node.attributes.find((attribute) => attribute.type === 'JSXAttribute' &&
|
|
64
|
+
attribute.name.type === 'JSXIdentifier' &&
|
|
65
|
+
attribute.name.name === 'type');
|
|
66
|
+
if (!type)
|
|
67
|
+
return inputs.text;
|
|
68
|
+
if (type.type !== 'JSXAttribute' || type.value?.type !== 'Literal')
|
|
69
|
+
return undefined;
|
|
70
|
+
return typeof type.value.value === 'string' ? inputs[type.value.value] : undefined;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
JSXOpeningElement(node) {
|
|
74
|
+
if (node.name.type !== 'JSXIdentifier' || allow.has(node.name.name))
|
|
75
|
+
return;
|
|
76
|
+
for (let parent = node.parent; parent; parent = parent.parent)
|
|
77
|
+
if (parent.type === 'JSXAttribute' &&
|
|
78
|
+
parent.name.type === 'JSXIdentifier' &&
|
|
79
|
+
parent.name.name === 'render')
|
|
80
|
+
return;
|
|
81
|
+
const replacement = component(node);
|
|
82
|
+
if (replacement)
|
|
83
|
+
context.report({
|
|
84
|
+
data: { component: replacement, element: node.name.name },
|
|
85
|
+
messageId: 'component',
|
|
86
|
+
node,
|
|
87
|
+
});
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=PreferComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreferComponent.js","sourceRoot":"","sources":["../../../src/oxlint/rules/PreferComponent.ts"],"names":[],"mappings":"AAGA,+FAA+F;AAC/F,MAAM,QAAQ,GAA2B;IACvC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,WAAW;IACpB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,EAAE,EAAE,WAAW;IACf,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACrB,CAAA;AAED,4FAA4F;AAC5F,MAAM,MAAM,GAA2B;IACrC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,aAAa;IACrB,QAAQ,EAAE,OAAO;IACjB,KAAK,EAAE,YAAY;IACnB,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,OAAO;IACZ,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,OAAO;CACb,CAAA;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,yEAAyE;SACvF;QACD,QAAQ,EAAE;YACR,SAAS,EAAE,mEAAmE;SAC/E;QACD,MAAM,EAAE;YACN;gBACE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IAAI;gBACpB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;oBAAE,OAAM;gBAE3E,KAAK,IAAI,MAAM,GAAuB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM;oBAC/E,IACE,MAAM,CAAC,IAAI,KAAK,cAAc;wBAC9B,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe;wBACpC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ;wBAE7B,OAAM;gBAEV,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAA;gBAEnC,IAAI,WAAW;oBACb,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;wBACzD,SAAS,EAAE,WAAW;wBACtB,IAAI;qBACL,CAAC,CAAA;YACN,CAAC;SACF,CAAA;IACH,CAAC;CACF,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Requires a name on `@tempoxyz/ds` components that render no text of their own. @module */
|
|
2
|
+
import type { Rule } from '@oxlint/plugins';
|
|
3
|
+
/**
|
|
4
|
+
* Reports an icon-only `Button` or `Button.Link`, a `Gauge`, or a Mobile `IconButton` without an
|
|
5
|
+
* accessible name. An element passed to a `render` prop can take its name from the element that
|
|
6
|
+
* owns the prop. Elements with a spread attribute are skipped, since the spread can supply the name.
|
|
7
|
+
*/
|
|
8
|
+
export declare const rule: Rule;
|
|
9
|
+
//# sourceMappingURL=RequireAccessibleName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequireAccessibleName.d.ts","sourceRoot":"","sources":["../../../src/oxlint/rules/RequireAccessibleName.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,OAAO,KAAK,EAAU,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAwBnD;;;;GAIG;AACH,eAAO,MAAM,IAAI,EAAE,IAqGlB,CAAA"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as Imports from '../internal/Imports.js';
|
|
2
|
+
const list = new Intl.ListFormat('en', { type: 'disjunction' });
|
|
3
|
+
const web = ['aria-label', 'aria-labelledby'];
|
|
4
|
+
const mobile = ['accessibilityLabel', 'accessibilityLabelledBy', 'aria-label', 'aria-labelledby'];
|
|
5
|
+
// Components from each surface whose rendered output has no text to name it.
|
|
6
|
+
const targets = {
|
|
7
|
+
mobile: { IconButton: { names: mobile } },
|
|
8
|
+
web: {
|
|
9
|
+
Button: { names: web, when: { attribute: 'shape', value: 'icon' } },
|
|
10
|
+
'Button.Link': { names: web, when: { attribute: 'shape', value: 'icon' } },
|
|
11
|
+
Gauge: { names: web },
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Reports an icon-only `Button` or `Button.Link`, a `Gauge`, or a Mobile `IconButton` without an
|
|
16
|
+
* accessible name. An element passed to a `render` prop can take its name from the element that
|
|
17
|
+
* owns the prop. Elements with a spread attribute are skipped, since the spread can supply the name.
|
|
18
|
+
*/
|
|
19
|
+
export const rule = {
|
|
20
|
+
meta: {
|
|
21
|
+
docs: { description: 'Name `@tempoxyz/ds` components that render no text.' },
|
|
22
|
+
messages: {
|
|
23
|
+
missing: "'{{component}}' renders no text. Name it with {{names}}.",
|
|
24
|
+
},
|
|
25
|
+
schema: [],
|
|
26
|
+
type: 'problem',
|
|
27
|
+
},
|
|
28
|
+
create(context) {
|
|
29
|
+
const bindings = new Map();
|
|
30
|
+
function attribute(node, name) {
|
|
31
|
+
return node.attributes.find((attribute) => attribute.type === 'JSXAttribute' &&
|
|
32
|
+
attribute.name.type === 'JSXIdentifier' &&
|
|
33
|
+
attribute.name.name === name);
|
|
34
|
+
}
|
|
35
|
+
function literal(node) {
|
|
36
|
+
const value = node.value?.type === 'JSXExpressionContainer' ? node.value.expression : node.value;
|
|
37
|
+
return value?.type === 'Literal' ? value.value : undefined;
|
|
38
|
+
}
|
|
39
|
+
function named(target, node) {
|
|
40
|
+
if (node.attributes.some((attribute) => attribute.type === 'JSXSpreadAttribute'))
|
|
41
|
+
return true;
|
|
42
|
+
return target.names.some((name) => {
|
|
43
|
+
const found = attribute(node, name);
|
|
44
|
+
return found !== undefined && literal(found) !== '';
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function path(node) {
|
|
48
|
+
if (node.type === 'JSXIdentifier')
|
|
49
|
+
return [node.name];
|
|
50
|
+
if (node.type === 'JSXMemberExpression')
|
|
51
|
+
return [...path(node.object), node.property.name];
|
|
52
|
+
return [];
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
ImportDeclaration(node) {
|
|
56
|
+
const surface = Imports.surface(node.source.value);
|
|
57
|
+
if (!surface || node.importKind === 'type')
|
|
58
|
+
return;
|
|
59
|
+
for (const specifier of node.specifiers) {
|
|
60
|
+
if (specifier.type === 'ImportNamespaceSpecifier')
|
|
61
|
+
bindings.set(specifier.local.name, { imported: undefined, surface });
|
|
62
|
+
if (specifier.type === 'ImportSpecifier' && specifier.importKind !== 'type')
|
|
63
|
+
bindings.set(specifier.local.name, {
|
|
64
|
+
imported: specifier.imported.type === 'Identifier'
|
|
65
|
+
? specifier.imported.name
|
|
66
|
+
: String(specifier.imported.value),
|
|
67
|
+
surface,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
JSXOpeningElement(node) {
|
|
72
|
+
const [head, ...rest] = path(node.name);
|
|
73
|
+
const binding = head === undefined ? undefined : bindings.get(head);
|
|
74
|
+
if (!binding)
|
|
75
|
+
return;
|
|
76
|
+
const component = (binding.imported ? [binding.imported, ...rest] : rest).join('.');
|
|
77
|
+
const target = targets[binding.surface][component];
|
|
78
|
+
if (!target)
|
|
79
|
+
return;
|
|
80
|
+
if (target.when) {
|
|
81
|
+
const condition = attribute(node, target.when.attribute);
|
|
82
|
+
if (!condition || literal(condition) !== target.when.value)
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
// An element passed to `render` takes its attributes from the element that owns the prop.
|
|
86
|
+
const owner = (() => {
|
|
87
|
+
for (let parent = node.parent; parent; parent = parent.parent)
|
|
88
|
+
if (parent.type === 'JSXAttribute' &&
|
|
89
|
+
parent.name.type === 'JSXIdentifier' &&
|
|
90
|
+
parent.name.name === 'render')
|
|
91
|
+
return parent.parent.type === 'JSXOpeningElement' ? parent.parent : undefined;
|
|
92
|
+
return undefined;
|
|
93
|
+
})();
|
|
94
|
+
if (!named(target, node) && (!owner || !named(target, owner)))
|
|
95
|
+
context.report({
|
|
96
|
+
data: { component, names: list.format(target.names.map((name) => `\`${name}\``)) },
|
|
97
|
+
messageId: 'missing',
|
|
98
|
+
node,
|
|
99
|
+
});
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=RequireAccessibleName.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequireAccessibleName.js","sourceRoot":"","sources":["../../../src/oxlint/rules/RequireAccessibleName.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AASjD,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAA;AAC/D,MAAM,GAAG,GAAG,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAA;AAC7C,MAAM,MAAM,GAAG,CAAC,oBAAoB,EAAE,yBAAyB,EAAE,YAAY,EAAE,iBAAiB,CAAC,CAAA;AAEjG,6EAA6E;AAC7E,MAAM,OAAO,GAAoD;IAC/D,MAAM,EAAE,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;IACzC,GAAG,E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K,IAAI,MAAM,GAAuB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM;wBAC/E,IACE,MAAM,CAAC,IAAI,KAAK,cAAc;4BAC9B,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe;4BACpC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ;4BAE7B,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAA;oBACjF,OAAO,SAAS,CAAA;gBAClB,CAAC,CAAC,EAAE,CAAA;gBAEJ,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;oBAC3D,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,EAAE;wBAClF,SAAS,EAAE,SAAS;wBACpB,IAAI;qBACL,CAAC,CAAA;YACN,CAAC;SACF,CAAA;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-text-0{color:var(--z-tds_2f_web-color-gray-900,light-dark(#4d4d4d,#bcbbbb))}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-pb-1{padding-bottom:var(--z-tds_2f_web-spacing-16,1rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-font-family-2{font-family:var(--z-tds_2f_web-typography-copy-14-fontFamily,Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji")}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-font-size-3{font-size:var(--z-tds_2f_web-typography-copy-14-fontSize,14px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-font-weight-4{font-weight:var(--z-tds_2f_web-typography-copy-14-fontWeight,450)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-letter-spacing-5{letter-spacing:var(--z-tds_2f_web-typography-copy-14-letterSpacing,-.09px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-line-height-6{line-height:var(--z-tds_2f_web-typography-copy-14-lineHeight,20px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_header-m-0{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-flex-shrink-0{flex-shrink:0}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-h-1{height:var(--z-tds_2f_web-spacing-16,1rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-transition-duration-2{transition-duration
|
|
1
|
+
.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-text-0{color:var(--z-tds_2f_web-color-gray-900,light-dark(#4d4d4d,#bcbbbb))}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-pb-1{padding-bottom:var(--z-tds_2f_web-spacing-16,1rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-font-family-2{font-family:var(--z-tds_2f_web-typography-copy-14-fontFamily,Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji")}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-font-size-3{font-size:var(--z-tds_2f_web-typography-copy-14-fontSize,14px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-font-weight-4{font-weight:var(--z-tds_2f_web-typography-copy-14-fontWeight,450)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-letter-spacing-5{letter-spacing:var(--z-tds_2f_web-typography-copy-14-letterSpacing,-.09px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_content-line-height-6{line-height:var(--z-tds_2f_web-typography-copy-14-lineHeight,20px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_header-m-0{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-flex-shrink-0{flex-shrink:0}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-h-1{height:var(--z-tds_2f_web-spacing-16,1rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-transition-duration-2{transition-duration:var(--z-tds_2f_web-transitionDuration-240,.24s)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-transition-property-3{transition-property:transform}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-transition-timing-function-4{transition-timing-function:var(--z-tds_2f_web-ease-spring,cubic-bezier(.32, .72, 0, 1))}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-w-5{width:var(--z-tds_2f_web-spacing-16,1rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-transform-6{[data-panel-open]>&{transform:rotate(180deg)}}@media (prefers-reduced-motion:reduce){.z-tds_2f_web-tds_2f_web_2f_accordion_2f_icon-transition-property-7{transition-property:none}}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_item-border-bottom-0{border-bottom:1px solid}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_item-border-color-1{border-color:var(--z-tds_2f_web-color-grayAlpha-200,light-dark(#00000014,#ffffff1a))}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-h-0{height:var(--accordion-panel-height)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-overflow-1{overflow:hidden}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-transition-duration-2{transition-duration:var(--z-tds_2f_web-transitionDuration-240,.24s)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-transition-property-3{transition-property:height,opacity}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-transition-duration-4{&[data-ending-style]{transition-duration:var(--z-tds_2f_web-transitionDuration-180,.18s)}}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-h-5{&[data-ending-style],&[data-starting-style]{height:var(--z-tds_2f_web-spacing-0,0rem)}}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-opacity-6{&[data-ending-style],&[data-starting-style]{opacity:0}}@media (prefers-reduced-motion:reduce){.z-tds_2f_web-tds_2f_web_2f_accordion_2f_panel-transition-property-7{transition-property:opacity}}.z-tds_2f_web-tds_2f_web_2f_accordion-display-0{display:flex}.z-tds_2f_web-tds_2f_web_2f_accordion-flex-direction-1{flex-direction:column}.z-tds_2f_web-tds_2f_web_2f_accordion-w-2{width:100%}.z-tds_2f_web-tds_2f_web_2f_accordion-min-height-3{&:where([data-size=large]){& [data-accordion-trigger]{min-height:var(--z-tds_2f_web-spacing-56,3.5rem)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-padding-block-4{&:where([data-size=large]){& [data-accordion-trigger]{padding-block:var(--z-tds_2f_web-spacing-12,.75rem)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-font-family-5{&:where([data-size=large]){& [data-accordion-trigger]{font-family:var(--z-tds_2f_web-typography-button-16-fontFamily,Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji")}}}.z-tds_2f_web-tds_2f_web_2f_accordion-font-size-6{&:where([data-size=large]){& [data-accordion-trigger]{font-size:var(--z-tds_2f_web-typography-button-16-fontSize,16px)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-font-weight-7{&:where([data-size=large]){& [data-accordion-trigger]{font-weight:var(--z-tds_2f_web-typography-button-16-fontWeight,500)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-letter-spacing-8{&:where([data-size=large]){& [data-accordion-trigger]{letter-spacing:var(--z-tds_2f_web-typography-button-16-letterSpacing,-.18px)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-line-height-9{&:where([data-size=large]){& [data-accordion-trigger]{line-height:var(--z-tds_2f_web-typography-button-16-lineHeight,20px)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-min-height-10{&:where([data-size=small]){& [data-accordion-trigger]{min-height:var(--z-tds_2f_web-spacing-32,2rem)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-padding-block-11{&:where([data-size=small]){& [data-accordion-trigger]{padding-block:var(--z-tds_2f_web-spacing-4,.25rem)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-font-family-12{&:where([data-size=small]){& [data-accordion-trigger]{font-family:var(--z-tds_2f_web-typography-button-12-fontFamily,Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji")}}}.z-tds_2f_web-tds_2f_web_2f_accordion-font-size-13{&:where([data-size=small]){& [data-accordion-trigger]{font-size:var(--z-tds_2f_web-typography-button-12-fontSize,12px)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-font-weight-14{&:where([data-size=small]){& [data-accordion-trigger]{font-weight:var(--z-tds_2f_web-typography-button-12-fontWeight,500)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-letter-spacing-15{&:where([data-size=small]){& [data-accordion-trigger]{letter-spacing:var(--z-tds_2f_web-typography-button-12-letterSpacing,.01px)}}}.z-tds_2f_web-tds_2f_web_2f_accordion-line-height-16{&:where([data-size=small]){& [data-accordion-trigger]{line-height:var(--z-tds_2f_web-typography-button-12-lineHeight,16px)}}}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-align-items-0{align-items:center}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-bg-1{background-color:#0000}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-border-2{border:none}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-border-radius-3{border-radius:var(--z-tds_2f_web-radius-8,.5rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-box-sizing-4{box-sizing:border-box}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-text-5{color:var(--z-tds_2f_web-color-foreground,light-dark(#171717,#fff))}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-column-gap-6{column-gap:var(--z-tds_2f_web-spacing-16,1rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-cursor-7{cursor:pointer}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-justify-content-8{justify-content:space-between}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-min-height-9{min-height:var(--z-tds_2f_web-spacing-40,2.5rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-outline-color-10{outline-color:#0000}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-outline-offset-11{outline-offset:var(--z-tds_2f_web-outlineOffset-0,0px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-outline-style-12{outline-style:solid}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-outline-width-13{outline-width:var(--z-tds_2f_web-outlineWidth-2,2px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-padding-block-14{padding-block:var(--z-tds_2f_web-spacing-8,.5rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-padding-inline-15{padding-inline:var(--z-tds_2f_web-spacing-0,0rem)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-text-align-16{text-align:start}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-transition-duration-17{transition-duration:var(--z-tds_2f_web-transitionDuration-160,.16s)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-transition-property-18{transition-property:opacity,outline-color,outline-offset}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-transition-timing-function-19{transition-timing-function:var(--z-tds_2f_web-ease-snappy,cubic-bezier(.23, 1, .32, 1))}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-font-family-20{font-family:var(--z-tds_2f_web-typography-button-14-fontFamily,Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji")}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-font-size-21{font-size:var(--z-tds_2f_web-typography-button-14-fontSize,14px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-font-weight-22{font-weight:var(--z-tds_2f_web-typography-button-14-fontWeight,500)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-letter-spacing-23{letter-spacing:var(--z-tds_2f_web-typography-button-14-letterSpacing,-.09px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-line-height-24{line-height:var(--z-tds_2f_web-typography-button-14-lineHeight,20px)}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-outline-color-25{&:focus-visible{outline-color:var(--z-tds_2f_web-color-blue-700,#4471ed)}}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-outline-offset-26{&:focus-visible{outline-offset:var(--z-tds_2f_web-outlineOffset-2,2px)}}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-cursor-27{&[data-disabled]{cursor:default}}.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-opacity-28{&[data-disabled]{opacity:var(--z-tds_2f_web-opacity-disabled,.4)}}@media (prefers-reduced-motion:reduce){.z-tds_2f_web-tds_2f_web_2f_accordion_2f_trigger-transition-property-29{transition-property:opacity,outline-color}}
|
|
@@ -79,12 +79,12 @@ declare namespace styles {
|
|
|
79
79
|
readonly base: {
|
|
80
80
|
readonly height: "var(--accordion-panel-height) !custom";
|
|
81
81
|
readonly overflow: "hidden";
|
|
82
|
-
readonly transitionDuration: "
|
|
82
|
+
readonly transitionDuration: "240";
|
|
83
83
|
readonly transitionProperty: "height, opacity";
|
|
84
84
|
readonly transitionTimingFunction: "spring";
|
|
85
85
|
readonly selectors: {
|
|
86
86
|
readonly '&[data-ending-style]': {
|
|
87
|
-
readonly transitionDuration: "
|
|
87
|
+
readonly transitionDuration: "180";
|
|
88
88
|
};
|
|
89
89
|
readonly '&[data-ending-style], &[data-starting-style]': {
|
|
90
90
|
readonly height: "0";
|
|
@@ -143,13 +143,13 @@ declare namespace styles {
|
|
|
143
143
|
readonly justifyContent: "space-between";
|
|
144
144
|
readonly minHeight: "40";
|
|
145
145
|
readonly outlineColor: "transparent !custom";
|
|
146
|
-
readonly outlineOffset: "
|
|
146
|
+
readonly outlineOffset: "0";
|
|
147
147
|
readonly outlineStyle: "solid !custom";
|
|
148
|
-
readonly outlineWidth: "
|
|
148
|
+
readonly outlineWidth: "2";
|
|
149
149
|
readonly paddingBlock: "8";
|
|
150
150
|
readonly paddingInline: "0";
|
|
151
151
|
readonly textAlign: "start";
|
|
152
|
-
readonly transitionDuration: "
|
|
152
|
+
readonly transitionDuration: "160";
|
|
153
153
|
readonly transitionProperty: "opacity, outline-color, outline-offset";
|
|
154
154
|
readonly transitionTimingFunction: "snappy";
|
|
155
155
|
readonly typography: "button.14";
|
|
@@ -157,11 +157,11 @@ declare namespace styles {
|
|
|
157
157
|
readonly selectors: {
|
|
158
158
|
readonly '&:focus-visible': {
|
|
159
159
|
readonly outlineColor: "blue.700";
|
|
160
|
-
readonly outlineOffset: "
|
|
160
|
+
readonly outlineOffset: "2";
|
|
161
161
|
};
|
|
162
162
|
readonly '&[data-disabled]': {
|
|
163
163
|
readonly cursor: "default";
|
|
164
|
-
readonly opacity: "
|
|
164
|
+
readonly opacity: "disabled";
|
|
165
165
|
};
|
|
166
166
|
};
|
|
167
167
|
readonly '@media (prefers-reduced-motion: reduce)': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/web/components/Accordion.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,MAAM,0BAA0B,CAAA;AAGlD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAEnD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,KAAW,SAAS,CAqGzB;AArGD,WAAiB,SAAS;IACxB;;;OAGG;IACH,SAAgB,IAAI,CAAC,KAAiB;QACpC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAA;QAEhD,OAAO,CACL,KAAC,MAAM,CAAC,SAAS,CAAC,IAAI,OAChB,UAAU,KACV,MAAM,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,GACxD,CACH,CAAA;IACH,CAAC;IATe,UAAA,IAAI,OASnB,CAAA;IAUD;;;OAGG;IACH,SAAgB,KAAK,CAAC,KAAkB;QACtC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAA;QAE1D,OAAO,CACL,KAAC,MAAM,CAAC,SAAS,CAAC,KAAK,OACjB,UAAU,KACV,MAAM,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,YAEzD,iBAAS,MAAM,CAAC,OAAO,EAAE,YAAG,QAAQ,GAAO,GACpB,CAC1B,CAAA;IACH,CAAC;IAXe,UAAA,KAAK,QAWpB,CAAA;IAQD;;;OAGG;IACH,SAAgB,IAAI,CAAC,KAAiB;QACpC,MAAM,EAAE,SAAS,EAAE,IAAI,EAA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