@mage-ui/preset 0.0.12 → 0.0.15
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.js +2 -8
- package/dist/conditions/index.js.map +1 -1
- package/dist/conditions/item-selectors.js +2 -7
- package/dist/conditions/item-selectors.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -21
- package/dist/index.js.map +1 -1
- package/dist/recipes/atoms/avatar/avatar-img.js +2 -0
- package/dist/recipes/atoms/avatar/avatar-img.js.map +1 -0
- package/dist/recipes/atoms/avatar/avatar-text.js +2 -0
- package/dist/recipes/atoms/avatar/avatar-text.js.map +1 -0
- package/dist/recipes/atoms/avatar/avatar.js +2 -73
- package/dist/recipes/atoms/avatar/avatar.js.map +1 -1
- package/dist/recipes/atoms/badges/badge-section.js +2 -17
- package/dist/recipes/atoms/badges/badge-section.js.map +1 -1
- package/dist/recipes/atoms/badges/badge.js +2 -52
- package/dist/recipes/atoms/badges/badge.js.map +1 -1
- package/dist/recipes/atoms/breadcrumbs/breadcrumb-separator.js +2 -15
- package/dist/recipes/atoms/breadcrumbs/breadcrumb-separator.js.map +1 -1
- package/dist/recipes/atoms/breadcrumbs/breadcrumb.js +2 -15
- package/dist/recipes/atoms/breadcrumbs/breadcrumb.js.map +1 -1
- package/dist/recipes/atoms/breadcrumbs/breadcrumbs.js +2 -25
- package/dist/recipes/atoms/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/recipes/atoms/buttons/button-icon-icon.js +2 -45
- package/dist/recipes/atoms/buttons/button-icon-icon.js.map +1 -1
- package/dist/recipes/atoms/buttons/button-icon.js +2 -40
- package/dist/recipes/atoms/buttons/button-icon.js.map +1 -1
- package/dist/recipes/atoms/buttons/button-inner.js +2 -17
- package/dist/recipes/atoms/buttons/button-inner.js.map +1 -1
- package/dist/recipes/atoms/buttons/button-label.js +2 -17
- package/dist/recipes/atoms/buttons/button-label.js.map +1 -1
- package/dist/recipes/atoms/buttons/button-section.js +2 -16
- package/dist/recipes/atoms/buttons/button-section.js.map +1 -1
- package/dist/recipes/atoms/buttons/button.js +2 -226
- package/dist/recipes/atoms/buttons/button.js.map +1 -1
- package/dist/recipes/atoms/buttons/index.js +2 -18
- package/dist/recipes/atoms/buttons/index.js.map +1 -1
- package/dist/recipes/atoms/dropdown/dropdown.js +2 -22
- package/dist/recipes/atoms/dropdown/dropdown.js.map +1 -1
- package/dist/recipes/atoms/icon/icon.js +2 -85
- package/dist/recipes/atoms/icon/icon.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.js +2 -18
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.js +2 -12
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.js +2 -12
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.js +2 -23
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.js +2 -16
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.js +2 -35
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.js +2 -14
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.js.map +1 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.js +2 -12
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.js.map +1 -1
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.js +2 -19
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.js.map +1 -1
- package/dist/recipes/atoms/inputs/combobox/combobox-option.js +2 -52
- package/dist/recipes/atoms/inputs/combobox/combobox-option.js.map +1 -1
- package/dist/recipes/atoms/inputs/combobox/combobox-options.js +2 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-options.js.map +1 -0
- package/dist/recipes/atoms/inputs/combobox/combobox-section.js +2 -14
- package/dist/recipes/atoms/inputs/combobox/combobox-section.js.map +1 -1
- package/dist/recipes/atoms/inputs/datepicker-dropdown.js +2 -17
- package/dist/recipes/atoms/inputs/datepicker-dropdown.js.map +1 -1
- package/dist/recipes/atoms/inputs/datepicker-input.js +2 -19
- package/dist/recipes/atoms/inputs/datepicker-input.js.map +1 -1
- package/dist/recipes/atoms/inputs/form-control.js +2 -52
- package/dist/recipes/atoms/inputs/form-control.js.map +1 -1
- package/dist/recipes/atoms/inputs/index.js +2 -50
- package/dist/recipes/atoms/inputs/index.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-description.js +2 -18
- package/dist/recipes/atoms/inputs/input-description.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-error.js +2 -20
- package/dist/recipes/atoms/inputs/input-error.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-label.js +2 -28
- package/dist/recipes/atoms/inputs/input-label.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-placeholder.js +2 -14
- package/dist/recipes/atoms/inputs/input-placeholder.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-root.js +2 -17
- package/dist/recipes/atoms/inputs/input-root.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-section.js +2 -37
- package/dist/recipes/atoms/inputs/input-section.js.map +1 -1
- package/dist/recipes/atoms/inputs/input-wrapper.js +2 -18
- package/dist/recipes/atoms/inputs/input-wrapper.js.map +1 -1
- package/dist/recipes/atoms/inputs/input.js +2 -46
- package/dist/recipes/atoms/inputs/input.js.map +1 -1
- package/dist/recipes/atoms/tab/tab-label.js +2 -18
- package/dist/recipes/atoms/tab/tab-label.js.map +1 -1
- package/dist/recipes/atoms/tab/tab-list.js +2 -23
- package/dist/recipes/atoms/tab/tab-list.js.map +1 -1
- package/dist/recipes/atoms/tab/tab-panel.js +2 -16
- package/dist/recipes/atoms/tab/tab-panel.js.map +1 -1
- package/dist/recipes/atoms/tab/tab-section.js +2 -22
- package/dist/recipes/atoms/tab/tab-section.js.map +1 -1
- package/dist/recipes/atoms/tab/tab.js +2 -158
- package/dist/recipes/atoms/tab/tab.js.map +1 -1
- package/dist/recipes/atoms/tab/tabs.js +2 -27
- package/dist/recipes/atoms/tab/tabs.js.map +1 -1
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.js +2 -95
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.js.map +1 -1
- package/dist/recipes/index.js +2 -47
- package/dist/recipes/index.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-control.js +2 -32
- package/dist/recipes/molecules/calendar/calendar-control.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-day.js +2 -38
- package/dist/recipes/molecules/calendar/calendar-day.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.js +2 -21
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-header-level.js +2 -15
- package/dist/recipes/molecules/calendar/calendar-header-level.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-header.js +2 -17
- package/dist/recipes/molecules/calendar/calendar-header.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-month-cell.js +2 -12
- package/dist/recipes/molecules/calendar/calendar-month-cell.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-month-row.js +2 -17
- package/dist/recipes/molecules/calendar/calendar-month-row.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-month.js +2 -14
- package/dist/recipes/molecules/calendar/calendar-month.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.js +2 -15
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-months-list-control.js +2 -15
- package/dist/recipes/molecules/calendar/calendar-months-list-control.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-months-list-row.js +2 -17
- package/dist/recipes/molecules/calendar/calendar-months-list-row.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-months-list.js +2 -14
- package/dist/recipes/molecules/calendar/calendar-months-list.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-week-day.js +2 -18
- package/dist/recipes/molecules/calendar/calendar-week-day.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.js +2 -17
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.js +2 -15
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-years-list-control.js +2 -12
- package/dist/recipes/molecules/calendar/calendar-years-list-control.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-years-list-row.js +2 -17
- package/dist/recipes/molecules/calendar/calendar-years-list-row.js.map +1 -1
- package/dist/recipes/molecules/calendar/calendar-years-list.js +2 -14
- package/dist/recipes/molecules/calendar/calendar-years-list.js.map +1 -1
- package/dist/recipes/molecules/calendar/index.js +2 -42
- package/dist/recipes/molecules/calendar/index.js.map +1 -1
- package/dist/recipes/shared/focus.js +2 -34
- package/dist/recipes/shared/focus.js.map +1 -1
- package/dist/semantic-tokens/colors.js +2 -969
- package/dist/semantic-tokens/colors.js.map +1 -1
- package/dist/semantic-tokens/gradients.js +2 -72
- package/dist/semantic-tokens/gradients.js.map +1 -1
- package/dist/semantic-tokens/index.js +2 -15
- package/dist/semantic-tokens/index.js.map +1 -1
- package/dist/semantic-tokens/shadows.js +2 -31
- package/dist/semantic-tokens/shadows.js.map +1 -1
- package/dist/semantic-tokens/sizes.js +2 -23
- package/dist/semantic-tokens/sizes.js.map +1 -1
- package/dist/tokens/animations.js +2 -18
- package/dist/tokens/animations.js.map +1 -1
- package/dist/tokens/borders.js +2 -22
- package/dist/tokens/borders.js.map +1 -1
- package/dist/tokens/colors.js +2 -264
- package/dist/tokens/colors.js.map +1 -1
- package/dist/tokens/font-sizes.js +2 -37
- package/dist/tokens/font-sizes.js.map +1 -1
- package/dist/tokens/font-weights.js +2 -22
- package/dist/tokens/font-weights.js.map +1 -1
- package/dist/tokens/fonts.js +2 -10
- package/dist/tokens/fonts.js.map +1 -1
- package/dist/tokens/index.js +2 -24
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/radii.js +2 -31
- package/dist/tokens/radii.js.map +1 -1
- package/dist/tokens/sizes.js +2 -61
- package/dist/tokens/sizes.js.map +1 -1
- package/dist/tokens/spacing.js +2 -73
- package/dist/tokens/spacing.js.map +1 -1
- package/package.json +19 -20
- package/dist/conditions/index.d.ts +0 -5
- package/dist/conditions/index.d.ts.map +0 -1
- package/dist/conditions/item-selectors.d.ts +0 -5
- package/dist/conditions/item-selectors.d.ts.map +0 -1
- package/dist/recipes/atoms/avatar/avatar.d.ts +0 -32
- package/dist/recipes/atoms/avatar/avatar.d.ts.map +0 -1
- package/dist/recipes/atoms/badges/badge-section.d.ts +0 -3
- package/dist/recipes/atoms/badges/badge-section.d.ts.map +0 -1
- package/dist/recipes/atoms/badges/badge.d.ts +0 -3
- package/dist/recipes/atoms/badges/badge.d.ts.map +0 -1
- package/dist/recipes/atoms/breadcrumbs/breadcrumb-separator.d.ts +0 -3
- package/dist/recipes/atoms/breadcrumbs/breadcrumb-separator.d.ts.map +0 -1
- package/dist/recipes/atoms/breadcrumbs/breadcrumb.d.ts +0 -3
- package/dist/recipes/atoms/breadcrumbs/breadcrumb.d.ts.map +0 -1
- package/dist/recipes/atoms/breadcrumbs/breadcrumbs.d.ts +0 -2
- package/dist/recipes/atoms/breadcrumbs/breadcrumbs.d.ts.map +0 -1
- package/dist/recipes/atoms/buttons/button-icon-icon.d.ts +0 -3
- package/dist/recipes/atoms/buttons/button-icon-icon.d.ts.map +0 -1
- package/dist/recipes/atoms/buttons/button-icon.d.ts +0 -3
- package/dist/recipes/atoms/buttons/button-icon.d.ts.map +0 -1
- package/dist/recipes/atoms/buttons/button-inner.d.ts +0 -3
- package/dist/recipes/atoms/buttons/button-inner.d.ts.map +0 -1
- package/dist/recipes/atoms/buttons/button-label.d.ts +0 -3
- package/dist/recipes/atoms/buttons/button-label.d.ts.map +0 -1
- package/dist/recipes/atoms/buttons/button-section.d.ts +0 -3
- package/dist/recipes/atoms/buttons/button-section.d.ts.map +0 -1
- package/dist/recipes/atoms/buttons/button.d.ts +0 -3
- package/dist/recipes/atoms/buttons/button.d.ts.map +0 -1
- package/dist/recipes/atoms/buttons/index.d.ts +0 -9
- package/dist/recipes/atoms/buttons/index.d.ts.map +0 -1
- package/dist/recipes/atoms/dropdown/dropdown.d.ts +0 -4
- package/dist/recipes/atoms/dropdown/dropdown.d.ts.map +0 -1
- package/dist/recipes/atoms/icon/icon.d.ts +0 -50
- package/dist/recipes/atoms/icon/icon.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-body.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-description.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-error.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-icon.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-inner.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-input.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label-wrapper.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.d.ts +0 -3
- package/dist/recipes/atoms/inputs/checkbox/checkbox-label.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.d.ts +0 -4
- package/dist/recipes/atoms/inputs/combobox/combobox-empty.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/combobox/combobox-option.d.ts +0 -4
- package/dist/recipes/atoms/inputs/combobox/combobox-option.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/combobox/combobox-section.d.ts +0 -4
- package/dist/recipes/atoms/inputs/combobox/combobox-section.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/datepicker-dropdown.d.ts +0 -3
- package/dist/recipes/atoms/inputs/datepicker-dropdown.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/datepicker-input.d.ts +0 -3
- package/dist/recipes/atoms/inputs/datepicker-input.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/form-control.d.ts +0 -4
- package/dist/recipes/atoms/inputs/form-control.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/index.d.ts +0 -25
- package/dist/recipes/atoms/inputs/index.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input-description.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input-description.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input-error.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input-error.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input-label.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input-label.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input-placeholder.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input-placeholder.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input-root.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input-root.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input-section.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input-section.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input-wrapper.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input-wrapper.d.ts.map +0 -1
- package/dist/recipes/atoms/inputs/input.d.ts +0 -3
- package/dist/recipes/atoms/inputs/input.d.ts.map +0 -1
- package/dist/recipes/atoms/tab/tab-label.d.ts +0 -3
- package/dist/recipes/atoms/tab/tab-label.d.ts.map +0 -1
- package/dist/recipes/atoms/tab/tab-list.d.ts +0 -3
- package/dist/recipes/atoms/tab/tab-list.d.ts.map +0 -1
- package/dist/recipes/atoms/tab/tab-panel.d.ts +0 -3
- package/dist/recipes/atoms/tab/tab-panel.d.ts.map +0 -1
- package/dist/recipes/atoms/tab/tab-section.d.ts +0 -3
- package/dist/recipes/atoms/tab/tab-section.d.ts.map +0 -1
- package/dist/recipes/atoms/tab/tab.d.ts +0 -3
- package/dist/recipes/atoms/tab/tab.d.ts.map +0 -1
- package/dist/recipes/atoms/tab/tabs.d.ts +0 -3
- package/dist/recipes/atoms/tab/tabs.d.ts.map +0 -1
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.d.ts +0 -3
- package/dist/recipes/atoms/wrapped-icon/wrapped-icon.d.ts.map +0 -1
- package/dist/recipes/index.d.ts +0 -4
- package/dist/recipes/index.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-control.d.ts +0 -4
- package/dist/recipes/molecules/calendar/calendar-control.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-day.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-day.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.d.ts +0 -4
- package/dist/recipes/molecules/calendar/calendar-header-control-icon.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-header-level.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-header-level.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-header.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-header.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-month-cell.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-month-cell.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-month-row.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-month-row.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-month.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-month.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-months-list-cell.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-months-list-control.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-months-list-control.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-months-list-row.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-months-list-row.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-months-list.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-months-list.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-week-day.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-week-day.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-weeks-days-row.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-years-list-cell.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-years-list-control.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-years-list-control.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-years-list-row.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-years-list-row.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/calendar-years-list.d.ts +0 -3
- package/dist/recipes/molecules/calendar/calendar-years-list.d.ts.map +0 -1
- package/dist/recipes/molecules/calendar/index.d.ts +0 -21
- package/dist/recipes/molecules/calendar/index.d.ts.map +0 -1
- package/dist/recipes/shared/focus.d.ts +0 -4
- package/dist/recipes/shared/focus.d.ts.map +0 -1
- package/dist/semantic-tokens/colors.d.ts +0 -965
- package/dist/semantic-tokens/colors.d.ts.map +0 -1
- package/dist/semantic-tokens/gradients.d.ts +0 -45
- package/dist/semantic-tokens/gradients.d.ts.map +0 -1
- package/dist/semantic-tokens/index.d.ts +0 -1055
- package/dist/semantic-tokens/index.d.ts.map +0 -1
- package/dist/semantic-tokens/shadows.d.ts +0 -27
- package/dist/semantic-tokens/shadows.d.ts.map +0 -1
- package/dist/semantic-tokens/sizes.d.ts +0 -19
- package/dist/semantic-tokens/sizes.d.ts.map +0 -1
- package/dist/tokens/animations.d.ts +0 -14
- package/dist/tokens/animations.d.ts.map +0 -1
- package/dist/tokens/borders.d.ts +0 -18
- package/dist/tokens/borders.d.ts.map +0 -1
- package/dist/tokens/colors.d.ts +0 -260
- package/dist/tokens/colors.d.ts.map +0 -1
- package/dist/tokens/font-sizes.d.ts +0 -33
- package/dist/tokens/font-sizes.d.ts.map +0 -1
- package/dist/tokens/font-weights.d.ts +0 -18
- package/dist/tokens/font-weights.d.ts.map +0 -1
- package/dist/tokens/fonts.d.ts +0 -6
- package/dist/tokens/fonts.d.ts.map +0 -1
- package/dist/tokens/index.d.ts +0 -496
- package/dist/tokens/index.d.ts.map +0 -1
- package/dist/tokens/radii.d.ts +0 -27
- package/dist/tokens/radii.d.ts.map +0 -1
- package/dist/tokens/sizes.d.ts +0 -57
- package/dist/tokens/sizes.d.ts.map +0 -1
- package/dist/tokens/spacing.d.ts +0 -69
- package/dist/tokens/spacing.d.ts.map +0 -1
|
@@ -1,37 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-section`,jsx:[`Input`],base:{position:`absolute`,top:`50%`,transform:`translateY(-50%)`,zIndex:`10`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`neutral.foreground.3.enabled`,"&:is([data-position=left])":{left:`{spacing.300}`},"&:is([data-position=right])":{right:`{spacing.300}`}},variants:{pointerEvents:{none:{pointerEvents:`none`},auto:{pointerEvents:`auto`}}}});export{t as inputSection};
|
|
2
|
+
//# sourceMappingURL=input-section.js.map
|
|
@@ -1 +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"],"
|
|
1
|
+
{"version":3,"file":"input-section.js","names":[],"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"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,gBACX,IAAK,CAAC,OAAQ,EACd,KAAM,CACJ,SAAU,WACV,IAAK,MACL,UAAW,mBACX,OAAQ,KACR,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,MAAO,+BACP,6BAA8B,CAC5B,KAAM,eACP,EACD,8BAA+B,CAC7B,MAAO,eACR,CACF,EACD,SAAU,CACR,cAAe,CACb,KAAM,CACJ,cAAe,MAChB,EACD,KAAM,CACJ,cAAe,MAChB,CACF,CACF,CACF,EAAC"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`input-wrapper`,jsx:[`Input`],base:{position:`relative`,color:`neutral.foreground.1.enabled`,'&:is([data-with-right-section="true"])':{paddingInlineEnd:`var(--input-left-section-width) `}}});export{t as inputWrapper};
|
|
2
|
+
//# sourceMappingURL=input-wrapper.js.map
|
|
@@ -1 +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"],"
|
|
1
|
+
{"version":3,"file":"input-wrapper.js","names":[],"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"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,gBACX,IAAK,CAAC,OAAQ,EACd,KAAM,CACJ,SAAU,WACV,MAAO,+BACP,yCAA0C,CACxC,iBAAkB,kCACnB,CACF,CACF,EAAC"}
|
|
@@ -1,46 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{formControl as e}from"./form-control.js";const t=e.merge({className:`input`,jsx:[`Input`],base:{"&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:`none`},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:`none`},"&[type=number]":{"-moz-appearance":`textfield`},'[data-with-left-section="true"] &':{paddingInlineStart:`calc({sizes.400} + {spacing.200})`},'[data-with-right-section="true"] &':{paddingInlineEnd:`calc({sizes.400} + {spacing.200})`},_placeholder:{color:`neutral.foreground.3.enabled`}},variants:{size:{l:{height:`control.height.300`},m:{height:`control.height.200`}}},defaultVariants:{size:`l`}});export{t as input};
|
|
2
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -1 +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"],"
|
|
1
|
+
{"version":3,"file":"input.js","names":[],"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"],"mappings":"gDAMA,MAAa,EAAQ,EAAY,MAAM,CACrC,UAAW,QACX,IAAK,CAAC,OAAQ,EACd,KAAM,CACJ,+BAAgC,CAC9B,OAAQ,EACR,iBAAkB,MACnB,EACD,+BAAgC,CAC9B,OAAQ,EACR,iBAAkB,MACnB,EACD,iBAAkB,CAChB,kBAAmB,WACpB,EACD,oCAAqC,CACnC,mBAAoB,mCACrB,EACD,qCAAsC,CACpC,iBAAkB,mCACnB,EACD,aAAc,CACZ,MAAO,8BACR,CACF,EACD,SAAU,CACR,KAAM,CACJ,EAAG,CACD,OAAQ,oBACT,EACD,EAAG,CACD,OAAQ,oBACT,CACF,CACF,EACD,gBAAiB,CACf,KAAM,GACP,CACF,EAAC"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tab-label`,jsx:[`TabLabel`],base:{textTransform:`uppercase`,textAlign:`center`,whiteSpace:`nowrap`,fontSize:`400`,fontWeight:`600`}});export{t as tabLabel};
|
|
2
|
+
//# sourceMappingURL=tab-label.js.map
|
|
@@ -1 +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"],"
|
|
1
|
+
{"version":3,"file":"tab-label.js","names":[],"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"],"mappings":"uDAMA,MAAa,EAAW,EAAa,CACnC,UAAW,YACX,IAAK,CAAC,UAAW,EACjB,KAAM,CACJ,cAAe,YACf,UAAW,SACX,WAAY,SACZ,SAAU,MACV,WAAY,KACb,CACF,EAAC"}
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const tabList = defineRecipe({
|
|
4
|
-
className: 'tab-list',
|
|
5
|
-
jsx: [
|
|
6
|
-
'TabList'
|
|
7
|
-
],
|
|
8
|
-
base: {
|
|
9
|
-
display: 'flex',
|
|
10
|
-
alignItems: 'center',
|
|
11
|
-
justifyContent: 'center',
|
|
12
|
-
gap: '200',
|
|
13
|
-
"&[data-orientation='vertical']": {
|
|
14
|
-
flexDirection: 'column'
|
|
15
|
-
},
|
|
16
|
-
"&[data-orientation='horizontal']": {
|
|
17
|
-
flexDirection: 'row'
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
export { tabList };
|
|
23
|
-
//# sourceMappingURL=tab-list.js.map
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tab-list`,jsx:[`TabList`],base:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:`200`,"&[data-orientation='vertical']":{flexDirection:`column`},"&[data-orientation='horizontal']":{flexDirection:`row`}}});export{t as tabList};
|
|
2
|
+
//# sourceMappingURL=tab-list.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-list.js","sources":["../../../../src/recipes/atoms/tab/tab-list.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const tabList = defineRecipe({\n className: 'tab-list',\n jsx: ['TabList'],\n base: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n gap: '200',\n\n \"&[data-orientation='vertical']\": {\n flexDirection: 'column',\n },\n \"&[data-orientation='horizontal']\": {\n flexDirection: 'row',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"
|
|
1
|
+
{"version":3,"file":"tab-list.js","names":[],"sources":["../../../../src/recipes/atoms/tab/tab-list.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const tabList = defineRecipe({\n className: 'tab-list',\n jsx: ['TabList'],\n base: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n gap: '200',\n\n \"&[data-orientation='vertical']\": {\n flexDirection: 'column',\n },\n \"&[data-orientation='horizontal']\": {\n flexDirection: 'row',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAU,EAAa,CAClC,UAAW,WACX,IAAK,CAAC,SAAU,EAChB,KAAM,CACJ,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,IAAK,MAEL,iCAAkC,CAChC,cAAe,QAChB,EACD,mCAAoC,CAClC,cAAe,KAChB,CACF,CACF,EAAC"}
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tab-panel`,jsx:[`TabPanel`],base:{display:`flex`,alignItems:`flex-start`,justifyContent:`flex-start`}});export{t as tabPanel};
|
|
2
|
+
//# sourceMappingURL=tab-panel.js.map
|
|
@@ -1 +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"],"
|
|
1
|
+
{"version":3,"file":"tab-panel.js","names":[],"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"],"mappings":"uDAMA,MAAa,EAAW,EAAa,CACnC,UAAW,YACX,IAAK,CAAC,UAAW,EACjB,KAAM,CACJ,QAAS,OACT,WAAY,aACZ,eAAgB,YACjB,CACF,EAAC"}
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tab-section`,jsx:[`TabSection`],base:{display:`flex`,alignItems:`center`,justifyContent:`center`,"&[data-position='left']":{marginLeft:`calc({spacing.100} * -1)`},"&[data-position='right']":{marginRight:`calc({spacing.100} * -1)`}}});export{t as tabSection};
|
|
2
|
+
//# sourceMappingURL=tab-section.js.map
|
|
@@ -1 +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"],"
|
|
1
|
+
{"version":3,"file":"tab-section.js","names":[],"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"],"mappings":"uDAMA,MAAa,EAAa,EAAa,CACrC,UAAW,cACX,IAAK,CAAC,YAAa,EACnB,KAAM,CACJ,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,0BAA2B,CACzB,WAAY,0BACb,EACD,2BAA4B,CAC1B,YAAa,0BACd,CACF,CACF,EAAC"}
|
|
@@ -1,158 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{focus as e}from"../../shared/focus.js";const t=e.merge({className:`tab`,jsx:[`Tab`],base:{display:`flex`,flexDirection:`row`,alignItems:`center`,justifyItems:`center`,gap:`100`,padding:`{spacing.100} {spacing.300}`,cursor:`pointer`,transition:`{animations.base.100}`,_hover:{transition:`{animations.base.100}`},_focus:{outline:`none`,boxShadow:`none`},_active:{outline:`none!`},_disabled:{opacity:`0.4`,pointerEvents:`none`},"&[data-orientation='vertical']":{width:`100%`}},variants:{variant:{pill:{border:`none`,borderRadius:`200`},tab:{borderWidth:`1px`,borderBottomWidth:`0`,borderTopWidth:`3px`,borderStyle:`solid`,borderRadius:`0`,"&[data-orientation='vertical']":{borderTopWidth:`1px`,borderLeftWidth:`3px`,borderBottomWidth:`1px`,borderRightWidth:`0`}}},color:{unstyled:{},primary:{},neutral:{}}},compoundVariants:[{variant:`pill`,color:`primary`,css:{backgroundColor:`neutral.background.1.enabled`,color:`primary.foreground.2.enabled`,_hover:{backgroundColor:`primary.background.4.hovered`,color:`primary.foreground.2.hovered`},_active:{backgroundColor:`primary.background.5.enabled`,color:`primary.foreground.2.enabled`,_hover:{backgroundColor:`primary.background.2.hovered`,color:`neutral.foreground.1.onBrand.enabled`}}}},{variant:`pill`,color:`neutral`,css:{backgroundColor:`neutral.background.1.enabled`,color:`neutral.foreground.3.enabled`,_hover:{backgroundColor:`neutral.background.2.hovered`,color:`neutral.foreground.2.hovered`},_active:{backgroundColor:`neutral.background.2.enabled`,color:`neutral.foreground.2.enabled`,_hover:{backgroundColor:`neutral.background.3.hovered`,color:`neutral.foreground.2.hovered`}}}},{variant:`tab`,color:`primary`,css:{backgroundColor:`neutral.background.1.enabled`,color:`primary.foreground.2.enabled`,borderColor:`primary.stroke.3.enabled`,_hover:{backgroundColor:`primary.background.4.hovered`,color:`primary.foreground.2.hovered`,borderColor:`primary.stroke.1.hovered`},_active:{backgroundColor:`primary.background.5.enabled`,color:`primary.foreground.2.enabled`,borderColor:`primary.stroke.2.enabled`,_hover:{backgroundColor:`primary.background.2.hovered`,color:`neutral.foreground.1.onBrand.enabled`,borderColor:`primary.stroke.2.hovered`}}}},{variant:`tab`,color:`neutral`,css:{backgroundColor:`neutral.background.1.enabled`,color:`neutral.foreground.3.enabled`,borderColor:`neutral.stroke.3.enabled`,_hover:{backgroundColor:`neutral.background.2.hovered`,color:`neutral.foreground.2.hovered`,borderColor:`neutral.stroke.1.hovered`},_active:{backgroundColor:`neutral.background.2.enabled`,color:`neutral.foreground.2.enabled`,borderColor:`neutral.stroke.2.enabled`,_hover:{backgroundColor:`neutral.background.3.hovered`,color:`neutral.foreground.static.enabled`,borderColor:`neutral.stroke.2.hovered`}}}}],defaultVariants:{color:`neutral`,variant:`tab`}});export{t as tab};
|
|
2
|
+
//# sourceMappingURL=tab.js.map
|
|
@@ -1 +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"],"
|
|
1
|
+
{"version":3,"file":"tab.js","names":[],"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"],"mappings":"8CAMA,MAAa,EAAM,EAAM,MAAM,CAC7B,UAAW,MACX,IAAK,CAAC,KAAM,EACZ,KAAM,CACJ,QAAS,OACT,cAAe,MACf,WAAY,SACZ,aAAc,SACd,IAAK,MACL,QAAS,8BACT,OAAQ,UACR,WAAY,wBACZ,OAAQ,CACN,WAAY,uBACb,EACD,OAAQ,CACN,QAAS,OACT,UAAW,MACZ,EACD,QAAS,CACP,QAAS,OACV,EACD,UAAW,CACT,QAAS,MACT,cAAe,MAChB,EAED,iCAAkC,CAChC,MAAO,MACR,CACF,EACD,SAAU,CACR,QAAS,CACP,KAAM,CACJ,OAAQ,OACR,aAAc,KACf,EACD,IAAK,CACH,YAAa,MACb,kBAAmB,IACnB,eAAgB,MAChB,YAAa,QACb,aAAc,IACd,iCAAkC,CAChC,eAAgB,MAChB,gBAAiB,MACjB,kBAAmB,MACnB,iBAAkB,GACnB,CACF,CACF,EACD,MAAO,CACL,SAAU,CAAE,EACZ,QAAS,CAAE,EACX,QAAS,CAAE,CACZ,CACF,EACD,iBAAkB,CAChB,CACE,QAAS,OACT,MAAO,UACP,IAAK,CACH,gBAAiB,+BACjB,MAAO,+BAEP,OAAQ,CACN,gBAAiB,+BACjB,MAAO,8BACR,EACD,QAAS,CACP,gBAAiB,+BACjB,MAAO,+BAEP,OAAQ,CACN,gBAAiB,+BACjB,MAAO,sCACR,CACF,CACF,CACF,EACD,CACE,QAAS,OACT,MAAO,UACP,IAAK,CACH,gBAAiB,+BACjB,MAAO,+BAEP,OAAQ,CACN,gBAAiB,+BACjB,MAAO,8BACR,EACD,QAAS,CACP,gBAAiB,+BACjB,MAAO,+BAEP,OAAQ,CACN,gBAAiB,+BACjB,MAAO,8BACR,CACF,CACF,CACF,EACD,CACE,QAAS,MACT,MAAO,UACP,IAAK,CACH,gBAAiB,+BACjB,MAAO,+BACP,YAAa,2BACb,OAAQ,CACN,gBAAiB,+BACjB,MAAO,+BACP,YAAa,0BACd,EACD,QAAS,CACP,gBAAiB,+BACjB,MAAO,+BACP,YAAa,2BACb,OAAQ,CACN,gBAAiB,+BACjB,MAAO,uCACP,YAAa,0BACd,CACF,CACF,CACF,EACD,CACE,QAAS,MACT,MAAO,UACP,IAAK,CACH,gBAAiB,+BACjB,MAAO,+BACP,YAAa,2BACb,OAAQ,CACN,gBAAiB,+BACjB,MAAO,+BACP,YAAa,0BACd,EACD,QAAS,CACP,gBAAiB,+BACjB,MAAO,+BACP,YAAa,2BACb,OAAQ,CACN,gBAAiB,+BACjB,MAAO,oCACP,YAAa,0BACd,CACF,CACF,CACF,CACF,EACD,gBAAiB,CACf,MAAO,UACP,QAAS,KACV,CACF,EAAC"}
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const tabs = defineRecipe({
|
|
4
|
-
className: 'tabs',
|
|
5
|
-
jsx: [
|
|
6
|
-
'Tabs'
|
|
7
|
-
],
|
|
8
|
-
base: {
|
|
9
|
-
display: 'flex',
|
|
10
|
-
alignItems: 'flex-start',
|
|
11
|
-
justifyContent: 'flex-start',
|
|
12
|
-
flexDirection: 'column',
|
|
13
|
-
gap: '200'
|
|
14
|
-
},
|
|
15
|
-
variants: {
|
|
16
|
-
orientation: {
|
|
17
|
-
horizontal: {},
|
|
18
|
-
vertical: {}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
defaultVariants: {
|
|
22
|
-
orientation: 'horizontal'
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
export { tabs };
|
|
27
|
-
//# sourceMappingURL=tabs.js.map
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`tabs`,jsx:[`Tabs`],base:{display:`flex`,alignItems:`flex-start`,justifyContent:`flex-start`,flexDirection:`column`,gap:`200`},variants:{orientation:{horizontal:{},vertical:{}}},defaultVariants:{orientation:`horizontal`}});export{t as tabs};
|
|
2
|
+
//# sourceMappingURL=tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.js","sources":["../../../../src/recipes/atoms/tab/tabs.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const tabs = defineRecipe({\n className: 'tabs',\n jsx: ['Tabs'],\n base: {\n display: 'flex',\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n flexDirection: 'column',\n gap: '200',\n },\n variants: {\n orientation: {\n horizontal: {},\n vertical: {},\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"
|
|
1
|
+
{"version":3,"file":"tabs.js","names":[],"sources":["../../../../src/recipes/atoms/tab/tabs.ts"],"sourcesContent":["import {\n type RecipeBuilder,\n type RecipeVariantRecord,\n defineRecipe,\n} from '@pandabox/define-recipe';\n\nexport const tabs = defineRecipe({\n className: 'tabs',\n jsx: ['Tabs'],\n base: {\n display: 'flex',\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n flexDirection: 'column',\n gap: '200',\n },\n variants: {\n orientation: {\n horizontal: {},\n vertical: {},\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAO,EAAa,CAC/B,UAAW,OACX,IAAK,CAAC,MAAO,EACb,KAAM,CACJ,QAAS,OACT,WAAY,aACZ,eAAgB,aAChB,cAAe,SACf,IAAK,KACN,EACD,SAAU,CACR,YAAa,CACX,WAAY,CAAE,EACd,SAAU,CAAE,CACb,CACF,EACD,gBAAiB,CACf,YAAa,YACd,CACF,EAAC"}
|
|
@@ -1,95 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
|
1
|
+
import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`wrapped-icon`,jsx:[`WrappedIcon`],base:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,aspectRatio:`1`},variants:{variant:{unstyled:{},filled:{border:`none`},outlined:{borderWidth:`1px`,borderStyle:`solid`,backgroundColor:`transparent`}},shape:{unstyled:{},rounded:{borderRadius:`900`},square:{borderRadius:`50`}},color:{unstyled:{},primary:{},neutral:{}},size:{l:{height:`{sizes.600}`},m:{height:`{sizes.500}`},s:{height:`{sizes.400}`}}},compoundVariants:[{variant:`filled`,color:`primary`,css:{color:`neutral.foreground.1.onBrand.enabled`,backgroundColor:`primary.background.2.enabled`}},{variant:`filled`,color:`neutral`,css:{color:`neutral.foreground.2.onBrand.enabled`,backgroundColor:`neutral.background.2.enabled`}},{variant:`outlined`,color:`primary`,css:{color:`primary.foreground.1.enabled`,borderColor:`primary.stroke.2.enabled`}},{variant:`outlined`,color:`neutral`,css:{color:`neutral.foreground.1.enabled`,borderColor:`neutral.stroke.2.enabled`}}],defaultVariants:{variant:`filled`,shape:`rounded`,color:`neutral`,size:`m`}});export{t as wrappedIcon};
|
|
2
|
+
//# sourceMappingURL=wrapped-icon.js.map
|