@mage-ui/preset 0.0.10
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/conditions/index.d.ts +5 -0
- package/dist/conditions/index.d.ts.map +1 -0
- package/dist/conditions/index.js +8 -0
- package/dist/conditions/index.js.map +1 -0
- package/dist/conditions/item-selectors.d.ts +5 -0
- package/dist/conditions/item-selectors.d.ts.map +1 -0
- package/dist/conditions/item-selectors.js +7 -0
- package/dist/conditions/item-selectors.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/recipes/atoms/avatar/avatar.d.ts +2 -0
- package/dist/recipes/atoms/avatar/avatar.d.ts.map +1 -0
- package/dist/recipes/atoms/avatar/avatar.js +73 -0
- package/dist/recipes/atoms/avatar/avatar.js.map +1 -0
- package/dist/recipes/atoms/badges/badge-section.d.ts +3 -0
- package/dist/recipes/atoms/badges/badge-section.d.ts.map +1 -0
- package/dist/recipes/atoms/badges/badge-section.js +17 -0
- package/dist/recipes/atoms/badges/badge-section.js.map +1 -0
- package/dist/recipes/atoms/badges/badge.d.ts +3 -0
- package/dist/recipes/atoms/badges/badge.d.ts.map +1 -0
- package/dist/recipes/atoms/badges/badge.js +52 -0
- package/dist/recipes/atoms/badges/badge.js.map +1 -0
- package/dist/recipes/atoms/buttons/button-icon-icon.d.ts +3 -0
- package/dist/recipes/atoms/buttons/button-icon-icon.d.ts.map +1 -0
- package/dist/recipes/atoms/buttons/button-icon-icon.js +45 -0
- package/dist/recipes/atoms/buttons/button-icon-icon.js.map +1 -0
- package/dist/recipes/atoms/buttons/button-icon.d.ts +3 -0
- package/dist/recipes/atoms/buttons/button-icon.d.ts.map +1 -0
- package/dist/recipes/atoms/buttons/button-icon.js +40 -0
- package/dist/recipes/atoms/buttons/button-icon.js.map +1 -0
- package/dist/recipes/atoms/buttons/button-inner.d.ts +3 -0
- package/dist/recipes/atoms/buttons/button-inner.d.ts.map +1 -0
- package/dist/recipes/atoms/buttons/button-inner.js +17 -0
- package/dist/recipes/atoms/buttons/button-inner.js.map +1 -0
- package/dist/recipes/atoms/buttons/button-label.d.ts +3 -0
- package/dist/recipes/atoms/buttons/button-label.d.ts.map +1 -0
- package/dist/recipes/atoms/buttons/button-label.js +17 -0
- package/dist/recipes/atoms/buttons/button-label.js.map +1 -0
- package/dist/recipes/atoms/buttons/button-section.d.ts +3 -0
- package/dist/recipes/atoms/buttons/button-section.d.ts.map +1 -0
- package/dist/recipes/atoms/buttons/button-section.js +16 -0
- package/dist/recipes/atoms/buttons/button-section.js.map +1 -0
- package/dist/recipes/atoms/buttons/button.d.ts +3 -0
- package/dist/recipes/atoms/buttons/button.d.ts.map +1 -0
- package/dist/recipes/atoms/buttons/button.js +226 -0
- package/dist/recipes/atoms/buttons/button.js.map +1 -0
- package/dist/recipes/atoms/buttons/index.d.ts +9 -0
- package/dist/recipes/atoms/buttons/index.d.ts.map +1 -0
- package/dist/recipes/atoms/buttons/index.js +18 -0
- package/dist/recipes/atoms/buttons/index.js.map +1 -0
- package/dist/recipes/atoms/dropdown/dropdown.d.ts +4 -0
- package/dist/recipes/atoms/dropdown/dropdown.d.ts.map +1 -0
- package/dist/recipes/atoms/dropdown/dropdown.js +22 -0
- package/dist/recipes/atoms/dropdown/dropdown.js.map +1 -0
- package/dist/recipes/atoms/icon/icon.d.ts +50 -0
- package/dist/recipes/atoms/icon/icon.d.ts.map +1 -0
- package/dist/recipes/atoms/icon/icon.js +85 -0
- package/dist/recipes/atoms/icon/icon.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.js +18 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.js +12 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.js +12 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.js +23 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.js +16 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.js +35 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.js +14 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.js.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.d.ts +3 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.js +12 -0
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.js.map +1 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.d.ts +4 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.js +19 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.js.map +1 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-option.d.ts +4 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-option.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-option.js +52 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-option.js.map +1 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-section.d.ts +4 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-section.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-section.js +14 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-section.js.map +1 -0
- package/dist/recipes/atoms/inputs/datepicker-dropdown.d.ts +3 -0
- package/dist/recipes/atoms/inputs/datepicker-dropdown.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/datepicker-dropdown.js +17 -0
- package/dist/recipes/atoms/inputs/datepicker-dropdown.js.map +1 -0
- package/dist/recipes/atoms/inputs/datepicker-input.d.ts +3 -0
- package/dist/recipes/atoms/inputs/datepicker-input.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/datepicker-input.js +19 -0
- package/dist/recipes/atoms/inputs/datepicker-input.js.map +1 -0
- package/dist/recipes/atoms/inputs/form-control.d.ts +4 -0
- package/dist/recipes/atoms/inputs/form-control.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/form-control.js +52 -0
- package/dist/recipes/atoms/inputs/form-control.js.map +1 -0
- package/dist/recipes/atoms/inputs/index.d.ts +25 -0
- package/dist/recipes/atoms/inputs/index.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/index.js +50 -0
- package/dist/recipes/atoms/inputs/index.js.map +1 -0
- package/dist/recipes/atoms/inputs/input-description.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input-description.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input-description.js +18 -0
- package/dist/recipes/atoms/inputs/input-description.js.map +1 -0
- package/dist/recipes/atoms/inputs/input-error.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input-error.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input-error.js +20 -0
- package/dist/recipes/atoms/inputs/input-error.js.map +1 -0
- package/dist/recipes/atoms/inputs/input-label.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input-label.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input-label.js +28 -0
- package/dist/recipes/atoms/inputs/input-label.js.map +1 -0
- package/dist/recipes/atoms/inputs/input-placeholder.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input-placeholder.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input-placeholder.js +14 -0
- package/dist/recipes/atoms/inputs/input-placeholder.js.map +1 -0
- package/dist/recipes/atoms/inputs/input-root.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input-root.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input-root.js +17 -0
- package/dist/recipes/atoms/inputs/input-root.js.map +1 -0
- package/dist/recipes/atoms/inputs/input-section.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input-section.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input-section.js +37 -0
- package/dist/recipes/atoms/inputs/input-section.js.map +1 -0
- package/dist/recipes/atoms/inputs/input-wrapper.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input-wrapper.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input-wrapper.js +18 -0
- package/dist/recipes/atoms/inputs/input-wrapper.js.map +1 -0
- package/dist/recipes/atoms/inputs/input.d.ts +3 -0
- package/dist/recipes/atoms/inputs/input.d.ts.map +1 -0
- package/dist/recipes/atoms/inputs/input.js +46 -0
- package/dist/recipes/atoms/inputs/input.js.map +1 -0
- package/dist/recipes/atoms/tab/tab-label.d.ts +3 -0
- package/dist/recipes/atoms/tab/tab-label.d.ts.map +1 -0
- package/dist/recipes/atoms/tab/tab-label.js +18 -0
- package/dist/recipes/atoms/tab/tab-label.js.map +1 -0
- package/dist/recipes/atoms/tab/tab-panel.d.ts +3 -0
- package/dist/recipes/atoms/tab/tab-panel.d.ts.map +1 -0
- package/dist/recipes/atoms/tab/tab-panel.js +16 -0
- package/dist/recipes/atoms/tab/tab-panel.js.map +1 -0
- package/dist/recipes/atoms/tab/tab-section.d.ts +3 -0
- package/dist/recipes/atoms/tab/tab-section.d.ts.map +1 -0
- package/dist/recipes/atoms/tab/tab-section.js +22 -0
- package/dist/recipes/atoms/tab/tab-section.js.map +1 -0
- package/dist/recipes/atoms/tab/tab.d.ts +3 -0
- package/dist/recipes/atoms/tab/tab.d.ts.map +1 -0
- package/dist/recipes/atoms/tab/tab.js +158 -0
- package/dist/recipes/atoms/tab/tab.js.map +1 -0
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.d.ts +3 -0
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.d.ts.map +1 -0
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.js +95 -0
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.js.map +1 -0
- package/dist/recipes/index.d.ts +4 -0
- package/dist/recipes/index.d.ts.map +1 -0
- package/dist/recipes/index.js +41 -0
- package/dist/recipes/index.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-control.d.ts +4 -0
- package/dist/recipes/molecules/calendar/calendar-control.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-control.js +32 -0
- package/dist/recipes/molecules/calendar/calendar-control.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-day.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-day.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-day.js +38 -0
- package/dist/recipes/molecules/calendar/calendar-day.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.d.ts +4 -0
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.js +21 -0
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-header-level.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-header-level.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-header-level.js +15 -0
- package/dist/recipes/molecules/calendar/calendar-header-level.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-header.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-header.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-header.js +17 -0
- package/dist/recipes/molecules/calendar/calendar-header.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-month-cell.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-month-cell.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-month-cell.js +12 -0
- package/dist/recipes/molecules/calendar/calendar-month-cell.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-month-row.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-month-row.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-month-row.js +17 -0
- package/dist/recipes/molecules/calendar/calendar-month-row.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-month.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-month.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-month.js +14 -0
- package/dist/recipes/molecules/calendar/calendar-month.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.js +15 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-control.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-control.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-control.js +15 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-control.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-row.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-row.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-row.js +17 -0
- package/dist/recipes/molecules/calendar/calendar-months-list-row.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-months-list.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-months-list.js +14 -0
- package/dist/recipes/molecules/calendar/calendar-months-list.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-week-day.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-week-day.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-week-day.js +18 -0
- package/dist/recipes/molecules/calendar/calendar-week-day.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.js +17 -0
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.js +15 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-control.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-control.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-control.js +12 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-control.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-row.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-row.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-row.js +17 -0
- package/dist/recipes/molecules/calendar/calendar-years-list-row.js.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list.d.ts +3 -0
- package/dist/recipes/molecules/calendar/calendar-years-list.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/calendar-years-list.js +14 -0
- package/dist/recipes/molecules/calendar/calendar-years-list.js.map +1 -0
- package/dist/recipes/molecules/calendar/index.d.ts +21 -0
- package/dist/recipes/molecules/calendar/index.d.ts.map +1 -0
- package/dist/recipes/molecules/calendar/index.js +42 -0
- package/dist/recipes/molecules/calendar/index.js.map +1 -0
- package/dist/recipes/molecules/tab-list/tabList.d.ts +3 -0
- package/dist/recipes/molecules/tab-list/tabList.d.ts.map +1 -0
- package/dist/recipes/molecules/tab-list/tabList.js +23 -0
- package/dist/recipes/molecules/tab-list/tabList.js.map +1 -0
- package/dist/recipes/molecules/tabs/tabs.d.ts +3 -0
- package/dist/recipes/molecules/tabs/tabs.d.ts.map +1 -0
- package/dist/recipes/molecules/tabs/tabs.js +27 -0
- package/dist/recipes/molecules/tabs/tabs.js.map +1 -0
- package/dist/recipes/shared/focus.d.ts +4 -0
- package/dist/recipes/shared/focus.d.ts.map +1 -0
- package/dist/recipes/shared/focus.js +34 -0
- package/dist/recipes/shared/focus.js.map +1 -0
- package/dist/semantic-tokens/colors.d.ts +965 -0
- package/dist/semantic-tokens/colors.d.ts.map +1 -0
- package/dist/semantic-tokens/colors.js +969 -0
- package/dist/semantic-tokens/colors.js.map +1 -0
- package/dist/semantic-tokens/gradients.d.ts +45 -0
- package/dist/semantic-tokens/gradients.d.ts.map +1 -0
- package/dist/semantic-tokens/gradients.js +72 -0
- package/dist/semantic-tokens/gradients.js.map +1 -0
- package/dist/semantic-tokens/index.d.ts +1055 -0
- package/dist/semantic-tokens/index.d.ts.map +1 -0
- package/dist/semantic-tokens/index.js +15 -0
- package/dist/semantic-tokens/index.js.map +1 -0
- package/dist/semantic-tokens/shadows.d.ts +27 -0
- package/dist/semantic-tokens/shadows.d.ts.map +1 -0
- package/dist/semantic-tokens/shadows.js +31 -0
- package/dist/semantic-tokens/shadows.js.map +1 -0
- package/dist/semantic-tokens/sizes.d.ts +19 -0
- package/dist/semantic-tokens/sizes.d.ts.map +1 -0
- package/dist/semantic-tokens/sizes.js +23 -0
- package/dist/semantic-tokens/sizes.js.map +1 -0
- package/dist/tokens/animations.d.ts +14 -0
- package/dist/tokens/animations.d.ts.map +1 -0
- package/dist/tokens/animations.js +18 -0
- package/dist/tokens/animations.js.map +1 -0
- package/dist/tokens/borders.d.ts +18 -0
- package/dist/tokens/borders.d.ts.map +1 -0
- package/dist/tokens/borders.js +22 -0
- package/dist/tokens/borders.js.map +1 -0
- package/dist/tokens/colors.d.ts +260 -0
- package/dist/tokens/colors.d.ts.map +1 -0
- package/dist/tokens/colors.js +264 -0
- package/dist/tokens/colors.js.map +1 -0
- package/dist/tokens/font-sizes.d.ts +33 -0
- package/dist/tokens/font-sizes.d.ts.map +1 -0
- package/dist/tokens/font-sizes.js +37 -0
- package/dist/tokens/font-sizes.js.map +1 -0
- package/dist/tokens/font-weights.d.ts +18 -0
- package/dist/tokens/font-weights.d.ts.map +1 -0
- package/dist/tokens/font-weights.js +22 -0
- package/dist/tokens/font-weights.js.map +1 -0
- package/dist/tokens/fonts.d.ts +6 -0
- package/dist/tokens/fonts.d.ts.map +1 -0
- package/dist/tokens/fonts.js +10 -0
- package/dist/tokens/fonts.js.map +1 -0
- package/dist/tokens/index.d.ts +496 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +24 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/radii.d.ts +27 -0
- package/dist/tokens/radii.d.ts.map +1 -0
- package/dist/tokens/radii.js +31 -0
- package/dist/tokens/radii.js.map +1 -0
- package/dist/tokens/sizes.d.ts +57 -0
- package/dist/tokens/sizes.d.ts.map +1 -0
- package/dist/tokens/sizes.js +61 -0
- package/dist/tokens/sizes.js.map +1 -0
- package/dist/tokens/spacing.d.ts +69 -0
- package/dist/tokens/spacing.d.ts.map +1 -0
- package/dist/tokens/spacing.js +73 -0
- package/dist/tokens/spacing.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-root.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/inputs/input-root.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,SAAS,EAShB,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandabox/define-recipe';
|
|
2
|
+
|
|
3
|
+
const inputRoot = defineRecipe({
|
|
4
|
+
className: 'input-root',
|
|
5
|
+
jsx: [
|
|
6
|
+
'Input'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
flexDirection: 'column',
|
|
11
|
+
gap: '200',
|
|
12
|
+
width: '100%'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export { inputRoot };
|
|
17
|
+
//# sourceMappingURL=input-root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-root.js","sources":["../../../../src/recipes/atoms/inputs/input-root.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const inputRoot = defineRecipe({\n className: 'input-root',\n jsx: ['Input'],\n base: {\n display: 'flex',\n flexDirection: 'column',\n gap: '200',\n width: '100%',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["inputRoot","defineRecipe","className","jsx","base","display","flexDirection","gap","width"],"mappings":";;AAMO,MAAMA,YAAYC,YAAa,CAAA;IACpCC,SAAW,EAAA,YAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAQ,KAAA;IACdC,IAAM,EAAA;QACJC,OAAS,EAAA,MAAA;QACTC,aAAe,EAAA,QAAA;QACfC,GAAK,EAAA,KAAA;QACLC,KAAO,EAAA;AACT;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-section.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/inputs/input-section.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,YAAY,EA6BnB,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandabox/define-recipe';
|
|
2
|
+
|
|
3
|
+
const inputSection = defineRecipe({
|
|
4
|
+
className: 'input-section',
|
|
5
|
+
jsx: [
|
|
6
|
+
'Input'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
position: 'absolute',
|
|
10
|
+
top: '50%',
|
|
11
|
+
transform: 'translateY(-50%)',
|
|
12
|
+
zIndex: '10',
|
|
13
|
+
display: 'flex',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
justifyContent: 'center',
|
|
16
|
+
color: 'neutral.foreground.3.enabled',
|
|
17
|
+
'&:is([data-position=left])': {
|
|
18
|
+
left: '{spacing.300}'
|
|
19
|
+
},
|
|
20
|
+
'&:is([data-position=right])': {
|
|
21
|
+
right: '{spacing.300}'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
variants: {
|
|
25
|
+
pointerEvents: {
|
|
26
|
+
none: {
|
|
27
|
+
pointerEvents: 'none'
|
|
28
|
+
},
|
|
29
|
+
auto: {
|
|
30
|
+
pointerEvents: 'auto'
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export { inputSection };
|
|
37
|
+
//# sourceMappingURL=input-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-section.js","sources":["../../../../src/recipes/atoms/inputs/input-section.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const inputSection = defineRecipe({\n className: 'input-section',\n jsx: ['Input'],\n base: {\n position: 'absolute',\n top: '50%',\n transform: 'translateY(-50%)',\n zIndex: '10',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: 'neutral.foreground.3.enabled',\n '&:is([data-position=left])': {\n left: '{spacing.300}',\n },\n '&:is([data-position=right])': {\n right: '{spacing.300}',\n },\n },\n variants: {\n pointerEvents: {\n none: {\n pointerEvents: 'none',\n },\n auto: {\n pointerEvents: 'auto',\n },\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["inputSection","defineRecipe","className","jsx","base","position","top","transform","zIndex","display","alignItems","justifyContent","color","left","right","variants","pointerEvents","none","auto"],"mappings":";;AAMO,MAAMA,eAAeC,YAAa,CAAA;IACvCC,SAAW,EAAA,eAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAQ,KAAA;IACdC,IAAM,EAAA;QACJC,QAAU,EAAA,UAAA;QACVC,GAAK,EAAA,KAAA;QACLC,SAAW,EAAA,kBAAA;QACXC,MAAQ,EAAA,IAAA;QACRC,OAAS,EAAA,MAAA;QACTC,UAAY,EAAA,QAAA;QACZC,cAAgB,EAAA,QAAA;QAChBC,KAAO,EAAA,8BAAA;QACP,4BAA8B,EAAA;YAC5BC,IAAM,EAAA;AACR,SAAA;QACA,6BAA+B,EAAA;YAC7BC,KAAO,EAAA;AACT;AACF,KAAA;IACAC,QAAU,EAAA;QACRC,aAAe,EAAA;YACbC,IAAM,EAAA;gBACJD,aAAe,EAAA;AACjB,aAAA;YACAE,IAAM,EAAA;gBACJF,aAAe,EAAA;AACjB;AACF;AACF;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-wrapper.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/inputs/input-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,YAAY,EAUnB,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandabox/define-recipe';
|
|
2
|
+
|
|
3
|
+
const inputWrapper = defineRecipe({
|
|
4
|
+
className: 'input-wrapper',
|
|
5
|
+
jsx: [
|
|
6
|
+
'Input'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
position: 'relative',
|
|
10
|
+
color: 'neutral.foreground.1.enabled',
|
|
11
|
+
'&:is([data-with-right-section="true"])': {
|
|
12
|
+
paddingInlineEnd: 'var(--input-left-section-width) '
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export { inputWrapper };
|
|
18
|
+
//# sourceMappingURL=input-wrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-wrapper.js","sources":["../../../../src/recipes/atoms/inputs/input-wrapper.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const inputWrapper = defineRecipe({\n className: 'input-wrapper',\n jsx: ['Input'],\n base: {\n position: 'relative',\n color: 'neutral.foreground.1.enabled',\n '&:is([data-with-right-section=\"true\"])': {\n paddingInlineEnd: 'var(--input-left-section-width)\t',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["inputWrapper","defineRecipe","className","jsx","base","position","color","paddingInlineEnd"],"mappings":";;AAMO,MAAMA,eAAeC,YAAa,CAAA;IACvCC,SAAW,EAAA,eAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAQ,KAAA;IACdC,IAAM,EAAA;QACJC,QAAU,EAAA,UAAA;QACVC,KAAO,EAAA,8BAAA;QACP,wCAA0C,EAAA;YACxCC,gBAAkB,EAAA;AACpB;AACF;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/inputs/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AAGjC,eAAO,MAAM,KAAK,EAsCZ,YAAY,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { formControl } from './form-control.js';
|
|
2
|
+
|
|
3
|
+
const input = formControl.merge({
|
|
4
|
+
className: 'input',
|
|
5
|
+
jsx: [
|
|
6
|
+
'Input'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
'&::-webkit-outer-spin-button': {
|
|
10
|
+
margin: 0,
|
|
11
|
+
WebkitAppearance: 'none'
|
|
12
|
+
},
|
|
13
|
+
'&::-webkit-inner-spin-button': {
|
|
14
|
+
margin: 0,
|
|
15
|
+
WebkitAppearance: 'none'
|
|
16
|
+
},
|
|
17
|
+
'&[type=number]': {
|
|
18
|
+
'-moz-appearance': 'textfield'
|
|
19
|
+
},
|
|
20
|
+
'[data-with-left-section="true"] &': {
|
|
21
|
+
paddingInlineStart: 'calc({sizes.400} + {spacing.200})'
|
|
22
|
+
},
|
|
23
|
+
'[data-with-right-section="true"] &': {
|
|
24
|
+
paddingInlineEnd: 'calc({sizes.400} + {spacing.200})'
|
|
25
|
+
},
|
|
26
|
+
_placeholder: {
|
|
27
|
+
color: 'neutral.foreground.3.enabled'
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
variants: {
|
|
31
|
+
size: {
|
|
32
|
+
l: {
|
|
33
|
+
height: 'control.height.300'
|
|
34
|
+
},
|
|
35
|
+
m: {
|
|
36
|
+
height: 'control.height.200'
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
defaultVariants: {
|
|
41
|
+
size: 'l'
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export { input };
|
|
46
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sources":["../../../../src/recipes/atoms/inputs/input.ts"],"sourcesContent":["import type {\n RecipeConfig,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\nimport { formControl } from './form-control';\n\nexport const input = formControl.merge({\n className: 'input',\n jsx: ['Input'],\n base: {\n '&::-webkit-outer-spin-button': {\n margin: 0,\n WebkitAppearance: 'none',\n },\n '&::-webkit-inner-spin-button': {\n margin: 0,\n WebkitAppearance: 'none',\n },\n '&[type=number]': {\n '-moz-appearance': 'textfield',\n },\n '[data-with-left-section=\"true\"] &': {\n paddingInlineStart: 'calc({sizes.400} + {spacing.200})',\n },\n '[data-with-right-section=\"true\"] &': {\n paddingInlineEnd: 'calc({sizes.400} + {spacing.200})',\n },\n _placeholder: {\n color: 'neutral.foreground.3.enabled',\n },\n },\n variants: {\n size: {\n l: {\n height: 'control.height.300',\n },\n m: {\n height: 'control.height.200',\n },\n },\n },\n defaultVariants: {\n size: 'l',\n },\n}) as RecipeConfig<RecipeVariantRecord>;\n"],"names":["input","formControl","merge","className","jsx","base","margin","WebkitAppearance","paddingInlineStart","paddingInlineEnd","_placeholder","color","variants","size","l","height","m","defaultVariants"],"mappings":";;AAMaA,MAAAA,KAAAA,GAAQC,WAAYC,CAAAA,KAAK,CAAC;IACrCC,SAAW,EAAA,OAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAQ,KAAA;IACdC,IAAM,EAAA;QACJ,8BAAgC,EAAA;YAC9BC,MAAQ,EAAA,CAAA;YACRC,gBAAkB,EAAA;AACpB,SAAA;QACA,8BAAgC,EAAA;YAC9BD,MAAQ,EAAA,CAAA;YACRC,gBAAkB,EAAA;AACpB,SAAA;QACA,gBAAkB,EAAA;YAChB,iBAAmB,EAAA;AACrB,SAAA;QACA,mCAAqC,EAAA;YACnCC,kBAAoB,EAAA;AACtB,SAAA;QACA,oCAAsC,EAAA;YACpCC,gBAAkB,EAAA;AACpB,SAAA;QACAC,YAAc,EAAA;YACZC,KAAO,EAAA;AACT;AACF,KAAA;IACAC,QAAU,EAAA;QACRC,IAAM,EAAA;YACJC,CAAG,EAAA;gBACDC,MAAQ,EAAA;AACV,aAAA;YACAC,CAAG,EAAA;gBACDD,MAAQ,EAAA;AACV;AACF;AACF,KAAA;IACAE,eAAiB,EAAA;QACfJ,IAAM,EAAA;AACR;AACF,CAAwC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-label.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/tab/tab-label.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAUf,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandabox/define-recipe';
|
|
2
|
+
|
|
3
|
+
const tabLabel = defineRecipe({
|
|
4
|
+
className: 'tab-label',
|
|
5
|
+
jsx: [
|
|
6
|
+
'TabLabel'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
textTransform: 'uppercase',
|
|
10
|
+
textAlign: 'center',
|
|
11
|
+
whiteSpace: 'nowrap',
|
|
12
|
+
fontSize: '400',
|
|
13
|
+
fontWeight: '600'
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export { tabLabel };
|
|
18
|
+
//# sourceMappingURL=tab-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-label.js","sources":["../../../../src/recipes/atoms/tab/tab-label.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const tabLabel = defineRecipe({\n className: 'tab-label',\n jsx: ['TabLabel'],\n base: {\n textTransform: 'uppercase',\n textAlign: 'center',\n whiteSpace: 'nowrap',\n fontSize: '400',\n fontWeight: '600',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["tabLabel","defineRecipe","className","jsx","base","textTransform","textAlign","whiteSpace","fontSize","fontWeight"],"mappings":";;AAMO,MAAMA,WAAWC,YAAa,CAAA;IACnCC,SAAW,EAAA,WAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAW,KAAA;IACjBC,IAAM,EAAA;QACJC,aAAe,EAAA,WAAA;QACfC,SAAW,EAAA,QAAA;QACXC,UAAY,EAAA,QAAA;QACZC,QAAU,EAAA,KAAA;QACVC,UAAY,EAAA;AACd;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-panel.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/tab/tab-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAQf,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandabox/define-recipe';
|
|
2
|
+
|
|
3
|
+
const tabPanel = defineRecipe({
|
|
4
|
+
className: 'tab-panel',
|
|
5
|
+
jsx: [
|
|
6
|
+
'TabPanel'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
alignItems: 'flex-start',
|
|
11
|
+
justifyContent: 'flex-start'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export { tabPanel };
|
|
16
|
+
//# sourceMappingURL=tab-panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-panel.js","sources":["../../../../src/recipes/atoms/tab/tab-panel.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const tabPanel = defineRecipe({\n className: 'tab-panel',\n jsx: ['TabPanel'],\n base: {\n display: 'flex',\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["tabPanel","defineRecipe","className","jsx","base","display","alignItems","justifyContent"],"mappings":";;AAMO,MAAMA,WAAWC,YAAa,CAAA;IACnCC,SAAW,EAAA,WAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAW,KAAA;IACjBC,IAAM,EAAA;QACJC,OAAS,EAAA,MAAA;QACTC,UAAY,EAAA,YAAA;QACZC,cAAgB,EAAA;AAClB;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-section.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/tab/tab-section.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,UAAU,EAcjB,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandabox/define-recipe';
|
|
2
|
+
|
|
3
|
+
const tabSection = defineRecipe({
|
|
4
|
+
className: 'tab-section',
|
|
5
|
+
jsx: [
|
|
6
|
+
'TabSection'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
"&[data-position='left']": {
|
|
13
|
+
marginLeft: 'calc({spacing.100} * -1)'
|
|
14
|
+
},
|
|
15
|
+
"&[data-position='right']": {
|
|
16
|
+
marginRight: 'calc({spacing.100} * -1)'
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export { tabSection };
|
|
22
|
+
//# sourceMappingURL=tab-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-section.js","sources":["../../../../src/recipes/atoms/tab/tab-section.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const tabSection = defineRecipe({\n className: 'tab-section',\n jsx: ['TabSection'],\n base: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n \"&[data-position='left']\": {\n marginLeft: 'calc({spacing.100} * -1)',\n },\n \"&[data-position='right']\": {\n marginRight: 'calc({spacing.100} * -1)',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["tabSection","defineRecipe","className","jsx","base","display","alignItems","justifyContent","marginLeft","marginRight"],"mappings":";;AAMO,MAAMA,aAAaC,YAAa,CAAA;IACrCC,SAAW,EAAA,aAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAa,KAAA;IACnBC,IAAM,EAAA;QACJC,OAAS,EAAA,MAAA;QACTC,UAAY,EAAA,QAAA;QACZC,cAAgB,EAAA,QAAA;QAChB,yBAA2B,EAAA;YACzBC,UAAY,EAAA;AACd,SAAA;QACA,0BAA4B,EAAA;YAC1BC,WAAa,EAAA;AACf;AACF;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/tab/tab.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AAGjC,eAAO,MAAM,GAAG,EA2JV,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { focus } from '../../shared/focus.js';
|
|
2
|
+
|
|
3
|
+
const tab = focus.merge({
|
|
4
|
+
className: 'tab',
|
|
5
|
+
jsx: [
|
|
6
|
+
'Tab'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
flexDirection: 'row',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
justifyItems: 'center',
|
|
13
|
+
gap: '100',
|
|
14
|
+
padding: '{spacing.100} {spacing.300}',
|
|
15
|
+
cursor: 'pointer',
|
|
16
|
+
transition: '{animations.base.100}',
|
|
17
|
+
_hover: {
|
|
18
|
+
transition: '{animations.base.100}'
|
|
19
|
+
},
|
|
20
|
+
_focus: {
|
|
21
|
+
outline: 'none',
|
|
22
|
+
boxShadow: 'none'
|
|
23
|
+
},
|
|
24
|
+
_active: {
|
|
25
|
+
outline: 'none!'
|
|
26
|
+
},
|
|
27
|
+
_disabled: {
|
|
28
|
+
opacity: '0.4',
|
|
29
|
+
pointerEvents: 'none'
|
|
30
|
+
},
|
|
31
|
+
"&[data-orientation='vertical']": {
|
|
32
|
+
width: '100%'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
variants: {
|
|
36
|
+
variant: {
|
|
37
|
+
pill: {
|
|
38
|
+
border: 'none',
|
|
39
|
+
borderRadius: '200'
|
|
40
|
+
},
|
|
41
|
+
tab: {
|
|
42
|
+
borderWidth: '1px',
|
|
43
|
+
borderBottomWidth: '0',
|
|
44
|
+
borderTopWidth: '3px',
|
|
45
|
+
borderStyle: 'solid',
|
|
46
|
+
borderRadius: '0',
|
|
47
|
+
"&[data-orientation='vertical']": {
|
|
48
|
+
borderTopWidth: '1px',
|
|
49
|
+
borderLeftWidth: '3px',
|
|
50
|
+
borderBottomWidth: '1px',
|
|
51
|
+
borderRightWidth: '0'
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
color: {
|
|
56
|
+
unstyled: {},
|
|
57
|
+
primary: {},
|
|
58
|
+
neutral: {}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
compoundVariants: [
|
|
62
|
+
{
|
|
63
|
+
variant: 'pill',
|
|
64
|
+
color: 'primary',
|
|
65
|
+
css: {
|
|
66
|
+
backgroundColor: 'neutral.background.1.enabled',
|
|
67
|
+
color: 'primary.foreground.2.enabled',
|
|
68
|
+
_hover: {
|
|
69
|
+
backgroundColor: 'primary.background.4.hovered',
|
|
70
|
+
color: 'primary.foreground.2.hovered'
|
|
71
|
+
},
|
|
72
|
+
_active: {
|
|
73
|
+
backgroundColor: 'primary.background.5.enabled',
|
|
74
|
+
color: 'primary.foreground.2.enabled',
|
|
75
|
+
_hover: {
|
|
76
|
+
backgroundColor: 'primary.background.2.hovered',
|
|
77
|
+
color: 'neutral.foreground.1.onBrand.enabled'
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
variant: 'pill',
|
|
84
|
+
color: 'neutral',
|
|
85
|
+
css: {
|
|
86
|
+
backgroundColor: 'neutral.background.1.enabled',
|
|
87
|
+
color: 'neutral.foreground.3.enabled',
|
|
88
|
+
_hover: {
|
|
89
|
+
backgroundColor: 'neutral.background.2.hovered',
|
|
90
|
+
color: 'neutral.foreground.2.hovered'
|
|
91
|
+
},
|
|
92
|
+
_active: {
|
|
93
|
+
backgroundColor: 'neutral.background.2.enabled',
|
|
94
|
+
color: 'neutral.foreground.2.enabled',
|
|
95
|
+
_hover: {
|
|
96
|
+
backgroundColor: 'neutral.background.3.hovered',
|
|
97
|
+
color: 'neutral.foreground.2.hovered'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
variant: 'tab',
|
|
104
|
+
color: 'primary',
|
|
105
|
+
css: {
|
|
106
|
+
backgroundColor: 'neutral.background.1.enabled',
|
|
107
|
+
color: 'primary.foreground.2.enabled',
|
|
108
|
+
borderColor: 'primary.stroke.3.enabled',
|
|
109
|
+
_hover: {
|
|
110
|
+
backgroundColor: 'primary.background.4.hovered',
|
|
111
|
+
color: 'primary.foreground.2.hovered',
|
|
112
|
+
borderColor: 'primary.stroke.1.hovered'
|
|
113
|
+
},
|
|
114
|
+
_active: {
|
|
115
|
+
backgroundColor: 'primary.background.5.enabled',
|
|
116
|
+
color: 'primary.foreground.2.enabled',
|
|
117
|
+
borderColor: 'primary.stroke.2.enabled',
|
|
118
|
+
_hover: {
|
|
119
|
+
backgroundColor: 'primary.background.2.hovered',
|
|
120
|
+
color: 'neutral.foreground.1.onBrand.enabled',
|
|
121
|
+
borderColor: 'primary.stroke.2.hovered'
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
variant: 'tab',
|
|
128
|
+
color: 'neutral',
|
|
129
|
+
css: {
|
|
130
|
+
backgroundColor: 'neutral.background.1.enabled',
|
|
131
|
+
color: 'neutral.foreground.3.enabled',
|
|
132
|
+
borderColor: 'neutral.stroke.3.enabled',
|
|
133
|
+
_hover: {
|
|
134
|
+
backgroundColor: 'neutral.background.2.hovered',
|
|
135
|
+
color: 'neutral.foreground.2.hovered',
|
|
136
|
+
borderColor: 'neutral.stroke.1.hovered'
|
|
137
|
+
},
|
|
138
|
+
_active: {
|
|
139
|
+
backgroundColor: 'neutral.background.2.enabled',
|
|
140
|
+
color: 'neutral.foreground.2.enabled',
|
|
141
|
+
borderColor: 'neutral.stroke.2.enabled',
|
|
142
|
+
_hover: {
|
|
143
|
+
backgroundColor: 'neutral.background.3.hovered',
|
|
144
|
+
color: 'neutral.foreground.static.enabled',
|
|
145
|
+
borderColor: 'neutral.stroke.2.hovered'
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
defaultVariants: {
|
|
152
|
+
color: 'neutral',
|
|
153
|
+
variant: 'tab'
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
export { tab };
|
|
158
|
+
//# sourceMappingURL=tab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.js","sources":["../../../../src/recipes/atoms/tab/tab.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\nimport { focus } from '../../shared/focus';\n\nexport const tab = focus.merge({\n className: 'tab',\n jsx: ['Tab'],\n base: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n justifyItems: 'center',\n gap: '100',\n padding: '{spacing.100} {spacing.300}',\n cursor: 'pointer',\n transition: '{animations.base.100}',\n _hover: {\n transition: '{animations.base.100}',\n },\n _focus: {\n outline: 'none',\n boxShadow: 'none',\n },\n _active: {\n outline: 'none!',\n },\n _disabled: {\n opacity: '0.4',\n pointerEvents: 'none',\n },\n\n \"&[data-orientation='vertical']\": {\n width: '100%',\n },\n },\n variants: {\n variant: {\n pill: {\n border: 'none',\n borderRadius: '200',\n },\n tab: {\n borderWidth: '1px',\n borderBottomWidth: '0',\n borderTopWidth: '3px',\n borderStyle: 'solid',\n borderRadius: '0',\n \"&[data-orientation='vertical']\": {\n borderTopWidth: '1px',\n borderLeftWidth: '3px',\n borderBottomWidth: '1px',\n borderRightWidth: '0',\n },\n },\n },\n color: {\n unstyled: {},\n primary: {},\n neutral: {},\n },\n },\n compoundVariants: [\n {\n variant: 'pill',\n color: 'primary',\n css: {\n backgroundColor: 'neutral.background.1.enabled',\n color: 'primary.foreground.2.enabled',\n\n _hover: {\n backgroundColor: 'primary.background.4.hovered',\n color: 'primary.foreground.2.hovered',\n },\n _active: {\n backgroundColor: 'primary.background.5.enabled',\n color: 'primary.foreground.2.enabled',\n\n _hover: {\n backgroundColor: 'primary.background.2.hovered',\n color: 'neutral.foreground.1.onBrand.enabled',\n },\n },\n },\n },\n {\n variant: 'pill',\n color: 'neutral',\n css: {\n backgroundColor: 'neutral.background.1.enabled',\n color: 'neutral.foreground.3.enabled',\n\n _hover: {\n backgroundColor: 'neutral.background.2.hovered',\n color: 'neutral.foreground.2.hovered',\n },\n _active: {\n backgroundColor: 'neutral.background.2.enabled',\n color: 'neutral.foreground.2.enabled',\n\n _hover: {\n backgroundColor: 'neutral.background.3.hovered',\n color: 'neutral.foreground.2.hovered',\n },\n },\n },\n },\n {\n variant: 'tab',\n color: 'primary',\n css: {\n backgroundColor: 'neutral.background.1.enabled',\n color: 'primary.foreground.2.enabled',\n borderColor: 'primary.stroke.3.enabled',\n _hover: {\n backgroundColor: 'primary.background.4.hovered',\n color: 'primary.foreground.2.hovered',\n borderColor: 'primary.stroke.1.hovered',\n },\n _active: {\n backgroundColor: 'primary.background.5.enabled',\n color: 'primary.foreground.2.enabled',\n borderColor: 'primary.stroke.2.enabled',\n _hover: {\n backgroundColor: 'primary.background.2.hovered',\n color: 'neutral.foreground.1.onBrand.enabled',\n borderColor: 'primary.stroke.2.hovered',\n },\n },\n },\n },\n {\n variant: 'tab',\n color: 'neutral',\n css: {\n backgroundColor: 'neutral.background.1.enabled',\n color: 'neutral.foreground.3.enabled',\n borderColor: 'neutral.stroke.3.enabled',\n _hover: {\n backgroundColor: 'neutral.background.2.hovered',\n color: 'neutral.foreground.2.hovered',\n borderColor: 'neutral.stroke.1.hovered',\n },\n _active: {\n backgroundColor: 'neutral.background.2.enabled',\n color: 'neutral.foreground.2.enabled',\n borderColor: 'neutral.stroke.2.enabled',\n _hover: {\n backgroundColor: 'neutral.background.3.hovered',\n color: 'neutral.foreground.static.enabled',\n borderColor: 'neutral.stroke.2.hovered',\n },\n },\n },\n },\n ],\n defaultVariants: {\n color: 'neutral',\n variant: 'tab',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["tab","focus","merge","className","jsx","base","display","flexDirection","alignItems","justifyItems","gap","padding","cursor","transition","_hover","_focus","outline","boxShadow","_active","_disabled","opacity","pointerEvents","width","variants","variant","pill","border","borderRadius","borderWidth","borderBottomWidth","borderTopWidth","borderStyle","borderLeftWidth","borderRightWidth","color","unstyled","primary","neutral","compoundVariants","css","backgroundColor","borderColor","defaultVariants"],"mappings":";;AAMaA,MAAAA,GAAAA,GAAMC,KAAMC,CAAAA,KAAK,CAAC;IAC7BC,SAAW,EAAA,KAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAM,KAAA;IACZC,IAAM,EAAA;QACJC,OAAS,EAAA,MAAA;QACTC,aAAe,EAAA,KAAA;QACfC,UAAY,EAAA,QAAA;QACZC,YAAc,EAAA,QAAA;QACdC,GAAK,EAAA,KAAA;QACLC,OAAS,EAAA,6BAAA;QACTC,MAAQ,EAAA,SAAA;QACRC,UAAY,EAAA,uBAAA;QACZC,MAAQ,EAAA;YACND,UAAY,EAAA;AACd,SAAA;QACAE,MAAQ,EAAA;YACNC,OAAS,EAAA,MAAA;YACTC,SAAW,EAAA;AACb,SAAA;QACAC,OAAS,EAAA;YACPF,OAAS,EAAA;AACX,SAAA;QACAG,SAAW,EAAA;YACTC,OAAS,EAAA,KAAA;YACTC,aAAe,EAAA;AACjB,SAAA;QAEA,gCAAkC,EAAA;YAChCC,KAAO,EAAA;AACT;AACF,KAAA;IACAC,QAAU,EAAA;QACRC,OAAS,EAAA;YACPC,IAAM,EAAA;gBACJC,MAAQ,EAAA,MAAA;gBACRC,YAAc,EAAA;AAChB,aAAA;YACA3B,GAAK,EAAA;gBACH4B,WAAa,EAAA,KAAA;gBACbC,iBAAmB,EAAA,GAAA;gBACnBC,cAAgB,EAAA,KAAA;gBAChBC,WAAa,EAAA,OAAA;gBACbJ,YAAc,EAAA,GAAA;gBACd,gCAAkC,EAAA;oBAChCG,cAAgB,EAAA,KAAA;oBAChBE,eAAiB,EAAA,KAAA;oBACjBH,iBAAmB,EAAA,KAAA;oBACnBI,gBAAkB,EAAA;AACpB;AACF;AACF,SAAA;QACAC,KAAO,EAAA;AACLC,YAAAA,QAAAA,EAAU,EAAC;AACXC,YAAAA,OAAAA,EAAS,EAAC;AACVC,YAAAA,OAAAA,EAAS;AACX;AACF,KAAA;IACAC,gBAAkB,EAAA;AAChB,QAAA;YACEd,OAAS,EAAA,MAAA;YACTU,KAAO,EAAA,SAAA;YACPK,GAAK,EAAA;gBACHC,eAAiB,EAAA,8BAAA;gBACjBN,KAAO,EAAA,8BAAA;gBAEPpB,MAAQ,EAAA;oBACN0B,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA;AACT,iBAAA;gBACAhB,OAAS,EAAA;oBACPsB,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA,8BAAA;oBAEPpB,MAAQ,EAAA;wBACN0B,eAAiB,EAAA,8BAAA;wBACjBN,KAAO,EAAA;AACT;AACF;AACF;AACF,SAAA;AACA,QAAA;YACEV,OAAS,EAAA,MAAA;YACTU,KAAO,EAAA,SAAA;YACPK,GAAK,EAAA;gBACHC,eAAiB,EAAA,8BAAA;gBACjBN,KAAO,EAAA,8BAAA;gBAEPpB,MAAQ,EAAA;oBACN0B,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA;AACT,iBAAA;gBACAhB,OAAS,EAAA;oBACPsB,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA,8BAAA;oBAEPpB,MAAQ,EAAA;wBACN0B,eAAiB,EAAA,8BAAA;wBACjBN,KAAO,EAAA;AACT;AACF;AACF;AACF,SAAA;AACA,QAAA;YACEV,OAAS,EAAA,KAAA;YACTU,KAAO,EAAA,SAAA;YACPK,GAAK,EAAA;gBACHC,eAAiB,EAAA,8BAAA;gBACjBN,KAAO,EAAA,8BAAA;gBACPO,WAAa,EAAA,0BAAA;gBACb3B,MAAQ,EAAA;oBACN0B,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA,8BAAA;oBACPO,WAAa,EAAA;AACf,iBAAA;gBACAvB,OAAS,EAAA;oBACPsB,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA,8BAAA;oBACPO,WAAa,EAAA,0BAAA;oBACb3B,MAAQ,EAAA;wBACN0B,eAAiB,EAAA,8BAAA;wBACjBN,KAAO,EAAA,sCAAA;wBACPO,WAAa,EAAA;AACf;AACF;AACF;AACF,SAAA;AACA,QAAA;YACEjB,OAAS,EAAA,KAAA;YACTU,KAAO,EAAA,SAAA;YACPK,GAAK,EAAA;gBACHC,eAAiB,EAAA,8BAAA;gBACjBN,KAAO,EAAA,8BAAA;gBACPO,WAAa,EAAA,0BAAA;gBACb3B,MAAQ,EAAA;oBACN0B,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA,8BAAA;oBACPO,WAAa,EAAA;AACf,iBAAA;gBACAvB,OAAS,EAAA;oBACPsB,eAAiB,EAAA,8BAAA;oBACjBN,KAAO,EAAA,8BAAA;oBACPO,WAAa,EAAA,0BAAA;oBACb3B,MAAQ,EAAA;wBACN0B,eAAiB,EAAA,8BAAA;wBACjBN,KAAO,EAAA,mCAAA;wBACPO,WAAa,EAAA;AACf;AACF;AACF;AACF;AACD,KAAA;IACDC,eAAiB,EAAA;QACfR,KAAO,EAAA,SAAA;QACPV,OAAS,EAAA;AACX;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrapped-icon.d.ts","sourceRoot":"","sources":["../../../../src/recipes/atoms/wrapped-icon/wrapped-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,WAAW,EAuFlB,aAAa,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandabox/define-recipe';
|
|
2
|
+
|
|
3
|
+
const wrappedIcon = defineRecipe({
|
|
4
|
+
className: 'wrapped-icon',
|
|
5
|
+
jsx: [
|
|
6
|
+
'WrappedIcon'
|
|
7
|
+
],
|
|
8
|
+
base: {
|
|
9
|
+
display: 'inline-flex',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
aspectRatio: '1'
|
|
13
|
+
},
|
|
14
|
+
variants: {
|
|
15
|
+
variant: {
|
|
16
|
+
unstyled: {},
|
|
17
|
+
filled: {
|
|
18
|
+
border: 'none'
|
|
19
|
+
},
|
|
20
|
+
outlined: {
|
|
21
|
+
borderWidth: '1px',
|
|
22
|
+
borderStyle: 'solid',
|
|
23
|
+
backgroundColor: 'transparent'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
shape: {
|
|
27
|
+
unstyled: {},
|
|
28
|
+
rounded: {
|
|
29
|
+
borderRadius: '900'
|
|
30
|
+
},
|
|
31
|
+
square: {
|
|
32
|
+
borderRadius: '50'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
color: {
|
|
36
|
+
unstyled: {},
|
|
37
|
+
primary: {},
|
|
38
|
+
neutral: {}
|
|
39
|
+
},
|
|
40
|
+
size: {
|
|
41
|
+
l: {
|
|
42
|
+
height: '{sizes.600}'
|
|
43
|
+
},
|
|
44
|
+
m: {
|
|
45
|
+
height: '{sizes.500}'
|
|
46
|
+
},
|
|
47
|
+
s: {
|
|
48
|
+
height: '{sizes.400}'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
compoundVariants: [
|
|
53
|
+
{
|
|
54
|
+
variant: 'filled',
|
|
55
|
+
color: 'primary',
|
|
56
|
+
css: {
|
|
57
|
+
color: 'neutral.foreground.1.onBrand.enabled',
|
|
58
|
+
backgroundColor: 'primary.background.2.enabled'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
variant: 'filled',
|
|
63
|
+
color: 'neutral',
|
|
64
|
+
css: {
|
|
65
|
+
color: 'neutral.foreground.2.onBrand.enabled',
|
|
66
|
+
backgroundColor: 'neutral.background.2.enabled'
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
variant: 'outlined',
|
|
71
|
+
color: 'primary',
|
|
72
|
+
css: {
|
|
73
|
+
color: 'primary.foreground.1.enabled',
|
|
74
|
+
borderColor: 'primary.stroke.2.enabled'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
variant: 'outlined',
|
|
79
|
+
color: 'neutral',
|
|
80
|
+
css: {
|
|
81
|
+
color: 'neutral.foreground.1.enabled',
|
|
82
|
+
borderColor: 'neutral.stroke.2.enabled'
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
defaultVariants: {
|
|
87
|
+
variant: 'filled',
|
|
88
|
+
shape: 'rounded',
|
|
89
|
+
color: 'neutral',
|
|
90
|
+
size: 'm'
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
export { wrappedIcon };
|
|
95
|
+
//# sourceMappingURL=wrapped-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrapped-icon.js","sources":["../../../../src/recipes/atoms/wrapped-icon/wrapped-icon.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const wrappedIcon = defineRecipe({\n className: 'wrapped-icon',\n jsx: ['WrappedIcon'],\n base: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n aspectRatio: '1',\n },\n variants: {\n variant: {\n unstyled: {},\n filled: {\n border: 'none',\n },\n outlined: {\n borderWidth: '1px',\n borderStyle: 'solid',\n backgroundColor: 'transparent',\n },\n },\n shape: {\n unstyled: {},\n rounded: {\n borderRadius: '900',\n },\n square: {\n borderRadius: '50',\n },\n },\n color: {\n unstyled: {},\n primary: {},\n neutral: {},\n },\n size: {\n l: {\n height: '{sizes.600}',\n },\n m: {\n height: '{sizes.500}',\n },\n s: {\n height: '{sizes.400}',\n },\n },\n },\n compoundVariants: [\n {\n variant: 'filled',\n color: 'primary',\n css: {\n color: 'neutral.foreground.1.onBrand.enabled',\n backgroundColor: 'primary.background.2.enabled',\n },\n },\n {\n variant: 'filled',\n color: 'neutral',\n css: {\n color: 'neutral.foreground.2.onBrand.enabled',\n backgroundColor: 'neutral.background.2.enabled',\n },\n },\n {\n variant: 'outlined',\n color: 'primary',\n css: {\n color: 'primary.foreground.1.enabled',\n borderColor: 'primary.stroke.2.enabled',\n },\n },\n {\n variant: 'outlined',\n color: 'neutral',\n css: {\n color: 'neutral.foreground.1.enabled',\n borderColor: 'neutral.stroke.2.enabled',\n },\n },\n ],\n defaultVariants: {\n variant: 'filled',\n shape: 'rounded',\n color: 'neutral',\n size: 'm',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"names":["wrappedIcon","defineRecipe","className","jsx","base","display","alignItems","justifyContent","aspectRatio","variants","variant","unstyled","filled","border","outlined","borderWidth","borderStyle","backgroundColor","shape","rounded","borderRadius","square","color","primary","neutral","size","l","height","m","s","compoundVariants","css","borderColor","defaultVariants"],"mappings":";;AAMO,MAAMA,cAAcC,YAAa,CAAA;IACtCC,SAAW,EAAA,cAAA;IACXC,GAAK,EAAA;AAAC,QAAA;AAAc,KAAA;IACpBC,IAAM,EAAA;QACJC,OAAS,EAAA,aAAA;QACTC,UAAY,EAAA,QAAA;QACZC,cAAgB,EAAA,QAAA;QAChBC,WAAa,EAAA;AACf,KAAA;IACAC,QAAU,EAAA;QACRC,OAAS,EAAA;AACPC,YAAAA,QAAAA,EAAU,EAAC;YACXC,MAAQ,EAAA;gBACNC,MAAQ,EAAA;AACV,aAAA;YACAC,QAAU,EAAA;gBACRC,WAAa,EAAA,KAAA;gBACbC,WAAa,EAAA,OAAA;gBACbC,eAAiB,EAAA;AACnB;AACF,SAAA;QACAC,KAAO,EAAA;AACLP,YAAAA,QAAAA,EAAU,EAAC;YACXQ,OAAS,EAAA;gBACPC,YAAc,EAAA;AAChB,aAAA;YACAC,MAAQ,EAAA;gBACND,YAAc,EAAA;AAChB;AACF,SAAA;QACAE,KAAO,EAAA;AACLX,YAAAA,QAAAA,EAAU,EAAC;AACXY,YAAAA,OAAAA,EAAS,EAAC;AACVC,YAAAA,OAAAA,EAAS;AACX,SAAA;QACAC,IAAM,EAAA;YACJC,CAAG,EAAA;gBACDC,MAAQ,EAAA;AACV,aAAA;YACAC,CAAG,EAAA;gBACDD,MAAQ,EAAA;AACV,aAAA;YACAE,CAAG,EAAA;gBACDF,MAAQ,EAAA;AACV;AACF;AACF,KAAA;IACAG,gBAAkB,EAAA;AAChB,QAAA;YACEpB,OAAS,EAAA,QAAA;YACTY,KAAO,EAAA,SAAA;YACPS,GAAK,EAAA;gBACHT,KAAO,EAAA,sCAAA;gBACPL,eAAiB,EAAA;AACnB;AACF,SAAA;AACA,QAAA;YACEP,OAAS,EAAA,QAAA;YACTY,KAAO,EAAA,SAAA;YACPS,GAAK,EAAA;gBACHT,KAAO,EAAA,sCAAA;gBACPL,eAAiB,EAAA;AACnB;AACF,SAAA;AACA,QAAA;YACEP,OAAS,EAAA,UAAA;YACTY,KAAO,EAAA,SAAA;YACPS,GAAK,EAAA;gBACHT,KAAO,EAAA,8BAAA;gBACPU,WAAa,EAAA;AACf;AACF,SAAA;AACA,QAAA;YACEtB,OAAS,EAAA,UAAA;YACTY,KAAO,EAAA,SAAA;YACPS,GAAK,EAAA;gBACHT,KAAO,EAAA,8BAAA;gBACPU,WAAa,EAAA;AACf;AACF;AACD,KAAA;IACDC,eAAiB,EAAA;QACfvB,OAAS,EAAA,QAAA;QACTQ,KAAO,EAAA,SAAA;QACPI,KAAO,EAAA,SAAA;QACPG,IAAM,EAAA;AACR;AACF,CAAyC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recipes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAmBpE,eAAO,MAAM,OAAO,EAef,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAE3C,eAAO,MAAM,WAAW,EAInB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { avatar } from './atoms/avatar/avatar.js';
|
|
2
|
+
import { badge } from './atoms/badges/badge.js';
|
|
3
|
+
import { badgeSection } from './atoms/badges/badge-section.js';
|
|
4
|
+
import { buttons } from './atoms/buttons/index.js';
|
|
5
|
+
import { dropdown } from './atoms/dropdown/dropdown.js';
|
|
6
|
+
import { icon } from './atoms/icon/icon.js';
|
|
7
|
+
import { inputs } from './atoms/inputs/index.js';
|
|
8
|
+
import { tab } from './atoms/tab/tab.js';
|
|
9
|
+
import { tabLabel } from './atoms/tab/tab-label.js';
|
|
10
|
+
import { tabPanel } from './atoms/tab/tab-panel.js';
|
|
11
|
+
import { tabSection } from './atoms/tab/tab-section.js';
|
|
12
|
+
import { wrappedIcon } from './atoms/wrapped-icon/wrapped-icon.js';
|
|
13
|
+
import { calendar } from './molecules/calendar/index.js';
|
|
14
|
+
import { tabList } from './molecules/tab-list/tabList.js';
|
|
15
|
+
import { tabs } from './molecules/tabs/tabs.js';
|
|
16
|
+
import { focus } from './shared/focus.js';
|
|
17
|
+
|
|
18
|
+
const recipes = {
|
|
19
|
+
badge,
|
|
20
|
+
badgeSection,
|
|
21
|
+
dropdown,
|
|
22
|
+
focus,
|
|
23
|
+
tab,
|
|
24
|
+
tabLabel,
|
|
25
|
+
tabList,
|
|
26
|
+
tabSection,
|
|
27
|
+
tabPanel,
|
|
28
|
+
tabs,
|
|
29
|
+
wrappedIcon,
|
|
30
|
+
...buttons,
|
|
31
|
+
...inputs,
|
|
32
|
+
...calendar
|
|
33
|
+
};
|
|
34
|
+
const slotRecipes = {
|
|
35
|
+
avatar,
|
|
36
|
+
calendar,
|
|
37
|
+
icon
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export { recipes, slotRecipes };
|
|
41
|
+
//# sourceMappingURL=index.js.map
|