@mage-ui/preset 1.0.79 → 1.0.81

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.
Files changed (106) hide show
  1. package/dist/recipes/controls/datatable-searcher/datatable-searcher.mjs +2 -0
  2. package/dist/recipes/controls/datatable-searcher/datatable-searcher.mjs.map +1 -0
  3. package/dist/recipes/controls/datatable-searcher/index.mjs +2 -0
  4. package/dist/recipes/controls/datatable-searcher/index.mjs.map +1 -0
  5. package/dist/recipes/controls/filter/filter-chevron.mjs +2 -0
  6. package/dist/recipes/controls/filter/filter-chevron.mjs.map +1 -0
  7. package/dist/recipes/controls/filter/filter-clear-button.mjs +2 -0
  8. package/dist/recipes/controls/filter/filter-clear-button.mjs.map +1 -0
  9. package/dist/recipes/controls/filter/filter-search-input.mjs +2 -0
  10. package/dist/recipes/controls/filter/filter-search-input.mjs.map +1 -0
  11. package/dist/recipes/controls/filter/filter-search-section.mjs +2 -0
  12. package/dist/recipes/controls/filter/filter-search-section.mjs.map +1 -0
  13. package/dist/recipes/controls/filter/filter-search-wrapper.mjs +2 -0
  14. package/dist/recipes/controls/filter/filter-search-wrapper.mjs.map +1 -0
  15. package/dist/recipes/controls/filter/filter-text-input.mjs +2 -0
  16. package/dist/recipes/controls/filter/filter-text-input.mjs.map +1 -0
  17. package/dist/recipes/controls/filter/filter.mjs +2 -0
  18. package/dist/recipes/controls/filter/filter.mjs.map +1 -0
  19. package/dist/recipes/controls/filter/index.mjs +2 -0
  20. package/dist/recipes/controls/filter/index.mjs.map +1 -0
  21. package/dist/recipes/controls/index.mjs +1 -1
  22. package/dist/recipes/controls/index.mjs.map +1 -1
  23. package/dist/recipes/controls/radio-group/radio-group-root.mjs +1 -1
  24. package/dist/recipes/controls/radio-group/radio-group-root.mjs.map +1 -1
  25. package/dist/recipes/controls/radio-group/radio-group.mjs +1 -1
  26. package/dist/recipes/controls/radio-group/radio-group.mjs.map +1 -1
  27. package/dist/recipes/controls/switch/switch-body.mjs +1 -1
  28. package/dist/recipes/controls/switch/switch-body.mjs.map +1 -1
  29. package/dist/recipes/controls/switch/switch-input.mjs +1 -1
  30. package/dist/recipes/controls/switch/switch-input.mjs.map +1 -1
  31. package/dist/recipes/controls/switch/switch-label-required.mjs +1 -1
  32. package/dist/recipes/controls/switch/switch-label-required.mjs.map +1 -1
  33. package/dist/recipes/controls/switch/switch-thumb.mjs +1 -1
  34. package/dist/recipes/controls/switch/switch-thumb.mjs.map +1 -1
  35. package/dist/recipes/controls/switch/switch-track.mjs +1 -1
  36. package/dist/recipes/controls/switch/switch-track.mjs.map +1 -1
  37. package/dist/recipes/controls/switch/switch.mjs +1 -1
  38. package/dist/recipes/controls/switch/switch.mjs.map +1 -1
  39. package/dist/recipes/controls/switch-group/index.mjs +2 -0
  40. package/dist/recipes/controls/switch-group/index.mjs.map +1 -0
  41. package/dist/recipes/controls/switch-group/switch-group-description.mjs +2 -0
  42. package/dist/recipes/controls/switch-group/switch-group-description.mjs.map +1 -0
  43. package/dist/recipes/controls/switch-group/switch-group-error.mjs +2 -0
  44. package/dist/recipes/controls/switch-group/switch-group-error.mjs.map +1 -0
  45. package/dist/recipes/controls/switch-group/switch-group-group.mjs +2 -0
  46. package/dist/recipes/controls/switch-group/switch-group-group.mjs.map +1 -0
  47. package/dist/recipes/controls/switch-group/switch-group-label.mjs +2 -0
  48. package/dist/recipes/controls/switch-group/switch-group-label.mjs.map +1 -0
  49. package/dist/recipes/controls/switch-group/switch-group-required.mjs +2 -0
  50. package/dist/recipes/controls/switch-group/switch-group-required.mjs.map +1 -0
  51. package/dist/recipes/controls/switch-group/switch-group-root.mjs +2 -0
  52. package/dist/recipes/controls/switch-group/switch-group-root.mjs.map +1 -0
  53. package/dist/recipes/controls/switch-group/switch-group.mjs +2 -0
  54. package/dist/recipes/controls/switch-group/switch-group.mjs.map +1 -0
  55. package/dist/recipes/controls/text-input/index.mjs +1 -1
  56. package/dist/recipes/data-display/data-table/custom-columns/column-check.mjs +2 -0
  57. package/dist/recipes/data-display/data-table/custom-columns/column-check.mjs.map +1 -0
  58. package/dist/recipes/data-display/data-table/custom-columns/column-expand.mjs +2 -0
  59. package/dist/recipes/data-display/data-table/custom-columns/column-expand.mjs.map +1 -0
  60. package/dist/recipes/data-display/data-table/custom-columns/index.mjs +2 -0
  61. package/dist/recipes/data-display/data-table/custom-columns/index.mjs.map +1 -0
  62. package/dist/recipes/data-display/data-table/data-table-bulk-bar/index.mjs +2 -0
  63. package/dist/recipes/data-display/data-table/data-table-bulk-bar/index.mjs.map +1 -0
  64. package/dist/recipes/data-display/data-table/data-table-page-size/index.mjs +2 -0
  65. package/dist/recipes/data-display/data-table/data-table-page-size/index.mjs.map +1 -0
  66. package/dist/recipes/data-display/data-table/data-table-sort-button/index.mjs +2 -0
  67. package/dist/recipes/data-display/data-table/data-table-sort-button/index.mjs.map +1 -0
  68. package/dist/recipes/data-display/data-table/data-table.mjs +1 -1
  69. package/dist/recipes/data-display/data-table/data-table.mjs.map +1 -1
  70. package/dist/recipes/data-display/data-table/index.mjs +1 -1
  71. package/dist/recipes/data-display/data-table/index.mjs.map +1 -1
  72. package/dist/recipes/data-display/table/table-tr.mjs +1 -1
  73. package/dist/recipes/data-display/table/table-tr.mjs.map +1 -1
  74. package/dist/recipes/data-display/table/table.mjs +1 -1
  75. package/dist/recipes/data-display/table/table.mjs.map +1 -1
  76. package/dist/recipes/layouts/card/card-body.mjs +2 -0
  77. package/dist/recipes/layouts/card/card-body.mjs.map +1 -0
  78. package/dist/recipes/layouts/card/card-footer.mjs +2 -0
  79. package/dist/recipes/layouts/card/card-footer.mjs.map +1 -0
  80. package/dist/recipes/layouts/card/card-header.mjs +2 -0
  81. package/dist/recipes/layouts/card/card-header.mjs.map +1 -0
  82. package/dist/recipes/layouts/card/card.mjs +1 -1
  83. package/dist/recipes/layouts/card/card.mjs.map +1 -1
  84. package/dist/recipes/layouts/card/index.mjs +1 -1
  85. package/dist/recipes/layouts/card/index.mjs.map +1 -1
  86. package/dist/recipes/overlays/toast/toast-body.mjs +1 -1
  87. package/dist/recipes/overlays/toast/toast-body.mjs.map +1 -1
  88. package/dist/recipes/overlays/toast/toast-close-button.mjs +1 -1
  89. package/dist/recipes/overlays/toast/toast-close-button.mjs.map +1 -1
  90. package/dist/recipes/overlays/toast/toast-description.mjs +1 -1
  91. package/dist/recipes/overlays/toast/toast-description.mjs.map +1 -1
  92. package/dist/recipes/overlays/toast/toast-icon.mjs +1 -1
  93. package/dist/recipes/overlays/toast/toast-icon.mjs.map +1 -1
  94. package/dist/recipes/overlays/toast/toast-loader.mjs +1 -1
  95. package/dist/recipes/overlays/toast/toast-loader.mjs.map +1 -1
  96. package/dist/recipes/overlays/toast/toast-notifications.mjs +1 -1
  97. package/dist/recipes/overlays/toast/toast-notifications.mjs.map +1 -1
  98. package/dist/recipes/overlays/toast/toast-root.mjs +1 -1
  99. package/dist/recipes/overlays/toast/toast-root.mjs.map +1 -1
  100. package/dist/recipes/overlays/toast/toast-title.mjs +1 -1
  101. package/dist/recipes/overlays/toast/toast-title.mjs.map +1 -1
  102. package/dist/recipes/overlays/toast/toast.mjs +1 -1
  103. package/dist/recipes/overlays/toast/toast.mjs.map +1 -1
  104. package/dist/semantic-tokens/colors.mjs +1 -1
  105. package/dist/semantic-tokens/colors.mjs.map +1 -1
  106. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import{textInput as e}from"../text-input/text-input.mjs";const t=e.merge({className:`datatable-searcher`,jsx:[`DataTableSearcher`],base:{"--text-input-root-gap":`{spacing.0}`,"--text-input-root-width":`100%`,"--text-input-wrapper-margin-top":`{spacing.0}`,"--text-input-input-font-family":`{fonts.base}`,"--text-input-input-font-size":`{fontSizes.300}`,"--text-input-input-font-weight":`{fontWeights.regular}`,"--text-input-input-line-height":`inherit`,"--text-input-input-text-align":`left`,"--text-input-input-background":`{colors.neutral.background.1.enabled}`,"--text-input-input-foreground":`{colors.neutral.foreground.2.enabled}`,"--text-input-input-placeholder-foreground":`{colors.neutral.foreground.3.enabled}`,"--text-input-input-border-width":`{borders.150}`,"--text-input-input-border-style":`solid`,"--text-input-input-border-color":`{colors.neutral.stroke.7.enabled}`,"--text-input-input-radii":`{radii.900}`,"--text-input-input-height":`{sizes.600}`,"--text-input-input-padding-inline-start":`{spacing.100}`,"--text-input-input-padding-inline-end":`{spacing.300}`,"--text-input-input-width":`100%`,"--text-input-input-min-width":`unset`,"--text-input-input-field-sizing":`fixed`,"--text-input-input-transition":`{animations.base.100}`,"--text-input-input-border-color-error":`{colors.danger.stroke.1.enabled}`,"--text-input-input-hover-background":`{colors.neutral.background.1.enabled}`,"--text-input-input-hover-border-color":`{colors.neutral.stroke.7.hovered}`,"--text-input-input-hover-foreground":`{colors.neutral.foreground.2.hovered}`,"--text-input-input-focus-outline-width":`{borders.150}`,"--text-input-input-focus-outline-style":`solid`,"--text-input-input-focus-outline-offset":`{spacing.50}`,"--text-input-input-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--text-input-input-focus-border-color":`{colors.neutral.stroke.7.hovered}`,"--text-input-input-focus-shadow":`none`,"--text-input-section-foreground":`{colors.neutral.foreground.4.enabled}`,"--text-input-section-size":`{sizes.300}`,"--text-input-left-section-width":`{sizes.300}`,"--text-input-left-section-position":`{spacing.300}`,"--text-input-left-section-pointer-events":`none`}});export{t as dataTableSearcher};
2
+ //# sourceMappingURL=datatable-searcher.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datatable-searcher.mjs","names":[],"sources":["../../../../src/recipes/controls/datatable-searcher/datatable-searcher.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInput } from '../text-input/text-input';\n\nexport const dataTableSearcher = textInput.merge({\n className: 'datatable-searcher',\n jsx: ['DataTableSearcher'],\n base: {\n /* Root */\n '--text-input-root-gap': '{spacing.0}',\n '--text-input-root-width': '100%',\n\n /* Wrapper */\n '--text-input-wrapper-margin-top': '{spacing.0}',\n\n /* Input */\n '--text-input-input-font-family': '{fonts.base}',\n '--text-input-input-font-size': '{fontSizes.300}',\n '--text-input-input-font-weight': '{fontWeights.regular}',\n '--text-input-input-line-height': 'inherit',\n '--text-input-input-text-align': 'left',\n '--text-input-input-background': '{colors.neutral.background.1.enabled}',\n '--text-input-input-foreground': '{colors.neutral.foreground.2.enabled}',\n '--text-input-input-placeholder-foreground':\n '{colors.neutral.foreground.3.enabled}',\n '--text-input-input-border-width': '{borders.150}',\n '--text-input-input-border-style': 'solid',\n '--text-input-input-border-color': '{colors.neutral.stroke.7.enabled}',\n '--text-input-input-radii': '{radii.900}',\n '--text-input-input-height': '{sizes.600}',\n '--text-input-input-padding-inline-start': '{spacing.100}',\n '--text-input-input-padding-inline-end': '{spacing.300}',\n '--text-input-input-width': '100%',\n '--text-input-input-min-width': 'unset',\n '--text-input-input-field-sizing': 'fixed',\n '--text-input-input-transition': '{animations.base.100}',\n\n /* Input - error */\n '--text-input-input-border-color-error': '{colors.danger.stroke.1.enabled}',\n\n /* Input - hover */\n '--text-input-input-hover-background':\n '{colors.neutral.background.1.enabled}',\n '--text-input-input-hover-border-color':\n '{colors.neutral.stroke.7.hovered}',\n '--text-input-input-hover-foreground':\n '{colors.neutral.foreground.2.hovered}',\n\n /* Input - focus */\n '--text-input-input-focus-outline-width': '{borders.150}',\n '--text-input-input-focus-outline-style': 'solid',\n '--text-input-input-focus-outline-offset': '{spacing.50}',\n '--text-input-input-focus-outline-color':\n '{colors.primary.stroke.1.focused}',\n '--text-input-input-focus-border-color':\n '{colors.neutral.stroke.7.hovered}',\n '--text-input-input-focus-shadow': 'none',\n\n /* Section (icon slot) */\n '--text-input-section-foreground': '{colors.neutral.foreground.4.enabled}',\n '--text-input-section-size': '{sizes.300}',\n '--text-input-left-section-width': '{sizes.300}',\n '--text-input-left-section-position': '{spacing.300}',\n '--text-input-left-section-pointer-events': 'none',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"yDAOA,MAAa,EAAoB,EAAU,MAAM,CAC/C,UAAW,qBACX,IAAK,CAAC,oBAAoB,CAC1B,KAAM,CAEJ,wBAAyB,cACzB,0BAA2B,OAG3B,kCAAmC,cAGnC,iCAAkC,eAClC,+BAAgC,kBAChC,iCAAkC,wBAClC,iCAAkC,UAClC,gCAAiC,OACjC,gCAAiC,wCACjC,gCAAiC,wCACjC,4CACE,wCACF,kCAAmC,gBACnC,kCAAmC,QACnC,kCAAmC,oCACnC,2BAA4B,cAC5B,4BAA6B,cAC7B,0CAA2C,gBAC3C,wCAAyC,gBACzC,2BAA4B,OAC5B,+BAAgC,QAChC,kCAAmC,QACnC,gCAAiC,wBAGjC,wCAAyC,mCAGzC,sCACE,wCACF,wCACE,oCACF,sCACE,wCAGF,yCAA0C,gBAC1C,yCAA0C,QAC1C,0CAA2C,eAC3C,yCACE,oCACF,wCACE,oCACF,kCAAmC,OAGnC,kCAAmC,wCACnC,4BAA6B,cAC7B,kCAAmC,cACnC,qCAAsC,gBACtC,2CAA4C,OAC7C,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{dataTableSearcher as e}from"./datatable-searcher.mjs";var t={dataTableSearcher:e};export{t as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/recipes/controls/datatable-searcher/index.ts"],"sourcesContent":["import { dataTableSearcher } from './datatable-searcher';\n\nexport default {\n dataTableSearcher,\n};\n"],"mappings":"6DAEA,IAAA,EAAe,CACb,oBACD"}
@@ -0,0 +1,2 @@
1
+ import{selectChevron as e}from"../dropdown/select/select-chevron.mjs";const t=e.merge({className:`filter__chevron`,jsx:[`Filter`],base:{"--dropdown-chevron-size":`{sizes.300}`,"--dropdown-chevron-background":`transparent`,"--dropdown-chevron-foreground":`{colors.primary.foreground.2.enabled}`,"--dropdown-chevron-radii":`{radii.200}`,"--dropdown-chevron-border-width":`{borders.0}`,"--dropdown-chevron-border-style":`solid`,"--dropdown-chevron-border-color":`transparent`,"--dropdown-chevron-padding-inline":`{spacing.0}`,"--dropdown-chevron-padding-block":`{spacing.0}`}});export{t as filterChevron};
2
+ //# sourceMappingURL=filter-chevron.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-chevron.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/filter-chevron.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { selectChevron } from '../dropdown/select/select-chevron';\n\nexport const filterChevron = selectChevron.merge({\n className: 'filter__chevron',\n jsx: ['Filter'],\n base: {\n '--dropdown-chevron-size': '{sizes.300}',\n '--dropdown-chevron-background': 'transparent',\n '--dropdown-chevron-foreground': '{colors.primary.foreground.2.enabled}',\n '--dropdown-chevron-radii': '{radii.200}',\n '--dropdown-chevron-border-width': '{borders.0}',\n '--dropdown-chevron-border-style': 'solid',\n '--dropdown-chevron-border-color': 'transparent',\n '--dropdown-chevron-padding-inline': '{spacing.0}',\n '--dropdown-chevron-padding-block': '{spacing.0}',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"sEAOA,MAAa,EAAgB,EAAc,MAAM,CAC/C,UAAW,kBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,0BAA2B,cAC3B,gCAAiC,cACjC,gCAAiC,wCACjC,2BAA4B,cAC5B,kCAAmC,cACnC,kCAAmC,QACnC,kCAAmC,cACnC,oCAAqC,cACrC,mCAAoC,cACrC,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{selectClearButton as e}from"../dropdown/select/select-clear-button.mjs";const t=e.merge({className:`filter__clear-button`,jsx:[`Filter`],base:{"--dropdown-clear-button-radii":`{radii.200}`,"--dropdown-clear-button-disabled-opacity":`.5`,"--dropdown-clear-button-transition":`{animations.base.100}`,"--dropdown-clear-button-align":`center`,"--dropdown-clear-button-height":`{sizes.400}`,"--dropdown-clear-button-padding-inline":`0`,"--dropdown-clear-button-background":`transparent`,"--dropdown-clear-button-background-hover":`{colors.primary.background.alpha.1.enabled}`,"--dropdown-clear-button-foreground":`{colors.primary.foreground.2.enabled}`,"--dropdown-clear-button-foreground-hover":`{colors.primary.foreground.2.hovered}`,"--dropdown-clear-button-border-color":`transparent`,"--dropdown-clear-button-border-color-hover":`transparent`,"--dropdown-clear-button-border-width":`{borders.0}`,"--dropdown-clear-button-border-style":`solid`,"--dropdown-clear-button-focus-outline-width":`{borders.150}`,"--dropdown-clear-button-focus-outline-style":`solid`,"--dropdown-clear-button-focus-outline-offset":`{spacing.50}`,"--dropdown-clear-button-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--dropdown-clear-button-icon-raw-size":`88%`}});export{t as filterClearButton};
2
+ //# sourceMappingURL=filter-clear-button.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-clear-button.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/filter-clear-button.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { selectClearButton } from '../dropdown/select/select-clear-button';\n\nexport const filterClearButton = selectClearButton.merge({\n className: 'filter__clear-button',\n jsx: ['Filter'],\n base: {\n '--dropdown-clear-button-radii': '{radii.200}',\n '--dropdown-clear-button-disabled-opacity': '.5',\n '--dropdown-clear-button-transition': '{animations.base.100}',\n '--dropdown-clear-button-align': 'center',\n '--dropdown-clear-button-height': '{sizes.400}',\n '--dropdown-clear-button-padding-inline': '0',\n\n '--dropdown-clear-button-background': 'transparent',\n '--dropdown-clear-button-background-hover':\n '{colors.primary.background.alpha.1.enabled}',\n\n '--dropdown-clear-button-foreground':\n '{colors.primary.foreground.2.enabled}',\n '--dropdown-clear-button-foreground-hover':\n '{colors.primary.foreground.2.hovered}',\n\n '--dropdown-clear-button-border-color': 'transparent',\n '--dropdown-clear-button-border-color-hover': 'transparent',\n\n '--dropdown-clear-button-border-width': '{borders.0}',\n '--dropdown-clear-button-border-style': 'solid',\n\n '--dropdown-clear-button-focus-outline-width': '{borders.150}',\n '--dropdown-clear-button-focus-outline-style': 'solid',\n '--dropdown-clear-button-focus-outline-offset': '{spacing.50}',\n '--dropdown-clear-button-focus-outline-color':\n '{colors.primary.stroke.1.focused}',\n\n '--dropdown-clear-button-icon-raw-size': '88%',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"+EAOA,MAAa,EAAoB,EAAkB,MAAM,CACvD,UAAW,uBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,gCAAiC,cACjC,2CAA4C,KAC5C,qCAAsC,wBACtC,gCAAiC,SACjC,iCAAkC,cAClC,yCAA0C,IAE1C,qCAAsC,cACtC,2CACE,8CAEF,qCACE,wCACF,2CACE,wCAEF,uCAAwC,cACxC,6CAA8C,cAE9C,uCAAwC,cACxC,uCAAwC,QAExC,8CAA+C,gBAC/C,8CAA+C,QAC/C,+CAAgD,eAChD,8CACE,oCAEF,wCAAyC,MAC1C,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{selectSearchInput as e}from"../dropdown/select/select-search-input.mjs";const t=e.merge({className:`filter__search-input`,jsx:[`Filter`],base:{"--text-input-input-font-family":`{fonts.base}`,"--text-input-input-font-size":`{fontSizes.300}`,"--text-input-input-font-weight":`{fontWeights.regular}`,"--text-input-input-line-height":`inherit`,"--text-input-input-text-align":`left`,"--text-input-input-background":`{colors.primary.background.alpha.1.enabled}`,"--text-input-input-foreground":`{colors.neutral.foreground.2.enabled}`,"--text-input-input-placeholder-foreground":`{colors.neutral.foreground.3.enabled}`,"--text-input-input-border-width":`{borders.0}`,"--text-input-input-border-style":`solid`,"--text-input-input-border-color":`{colors.neutral.stroke.7.enabled}`,"--text-input-input-radii":`{radii.200}`,"--text-input-input-height":`{sizes.500}`,"--text-input-input-padding-inline-start":`{spacing.100}`,"--text-input-input-padding-inline-end":`{spacing.100}`,"--text-input-input-width":`100%`,"--text-input-input-min-width":`unset`,"--text-input-input-field-sizing":`fixed`,"--text-input-input-transition":`{animations.base.100}`,"--text-input-input-hover-background":`{colors.primary.background.alpha.1.enabled}`,"--text-input-input-hover-border-color":`{colors.neutral.stroke.7.hovered}`,"--text-input-input-hover-foreground":`{colors.neutral.foreground.2.hovered}`,"--text-input-input-focus-outline-width":`{borders.150}`,"--text-input-input-focus-outline-style":`solid`,"--text-input-input-focus-outline-offset":`{spacing.50}`,"--text-input-input-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--text-input-input-focus-border-color":`{colors.neutral.stroke.7.hovered}`,"--text-input-input-focus-shadow":`none`}});export{t as filterSearchInput};
2
+ //# sourceMappingURL=filter-search-input.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-search-input.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/filter-search-input.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { selectSearchInput } from '../dropdown/select/select-search-input';\n\nexport const filterSearchInput = selectSearchInput.merge({\n className: 'filter__search-input',\n jsx: ['Filter'],\n base: {\n '--text-input-input-font-family': '{fonts.base}',\n '--text-input-input-font-size': '{fontSizes.300}',\n '--text-input-input-font-weight': '{fontWeights.regular}',\n '--text-input-input-line-height': 'inherit',\n '--text-input-input-text-align': 'left',\n '--text-input-input-background':\n '{colors.primary.background.alpha.1.enabled}',\n '--text-input-input-foreground': '{colors.neutral.foreground.2.enabled}',\n '--text-input-input-placeholder-foreground':\n '{colors.neutral.foreground.3.enabled}',\n '--text-input-input-border-width': '{borders.0}',\n '--text-input-input-border-style': 'solid',\n '--text-input-input-border-color': '{colors.neutral.stroke.7.enabled}',\n '--text-input-input-radii': '{radii.200}',\n '--text-input-input-height': '{sizes.500}',\n '--text-input-input-padding-inline-start': '{spacing.100}',\n '--text-input-input-padding-inline-end': '{spacing.100}',\n '--text-input-input-width': '100%',\n '--text-input-input-min-width': 'unset',\n '--text-input-input-field-sizing': 'fixed',\n '--text-input-input-transition': '{animations.base.100}',\n\n '--text-input-input-hover-background':\n '{colors.primary.background.alpha.1.enabled}',\n '--text-input-input-hover-border-color':\n '{colors.neutral.stroke.7.hovered}',\n '--text-input-input-hover-foreground':\n '{colors.neutral.foreground.2.hovered}',\n\n '--text-input-input-focus-outline-width': '{borders.150}',\n '--text-input-input-focus-outline-style': 'solid',\n '--text-input-input-focus-outline-offset': '{spacing.50}',\n '--text-input-input-focus-outline-color':\n '{colors.primary.stroke.1.focused}',\n '--text-input-input-focus-border-color':\n '{colors.neutral.stroke.7.hovered}',\n '--text-input-input-focus-shadow': 'none',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"+EAOA,MAAa,EAAoB,EAAkB,MAAM,CACvD,UAAW,uBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,iCAAkC,eAClC,+BAAgC,kBAChC,iCAAkC,wBAClC,iCAAkC,UAClC,gCAAiC,OACjC,gCACE,8CACF,gCAAiC,wCACjC,4CACE,wCACF,kCAAmC,cACnC,kCAAmC,QACnC,kCAAmC,oCACnC,2BAA4B,cAC5B,4BAA6B,cAC7B,0CAA2C,gBAC3C,wCAAyC,gBACzC,2BAA4B,OAC5B,+BAAgC,QAChC,kCAAmC,QACnC,gCAAiC,wBAEjC,sCACE,8CACF,wCACE,oCACF,sCACE,wCAEF,yCAA0C,gBAC1C,yCAA0C,QAC1C,0CAA2C,eAC3C,yCACE,oCACF,wCACE,oCACF,kCAAmC,OACpC,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{selectSearchSection as e}from"../dropdown/select/select-search-section.mjs";const t=e.merge({className:`filter__search__section`,jsx:[`Filter`],base:{"--text-input-section-size":`var(--filter-search-section-size, {sizes.200})`,"--text-input-left-section-width":`var(--filter-search-section-width, {sizes.200})`,"--text-input-section-foreground":`var(--filter-search-section-foreground, {colors.neutral.foreground.3.enabled})`,"--text-input-left-section-position":`var(--filter-search-section-position, {spacing.400})`}});export{t as filterSearchSection};
2
+ //# sourceMappingURL=filter-search-section.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-search-section.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/filter-search-section.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { selectSearchSection } from '../dropdown/select/select-search-section';\n\nexport const filterSearchSection = selectSearchSection.merge({\n className: 'filter__search__section',\n jsx: ['Filter'],\n base: {\n '--text-input-section-size':\n 'var(--filter-search-section-size, {sizes.200})',\n '--text-input-left-section-width':\n 'var(--filter-search-section-width, {sizes.200})',\n '--text-input-section-foreground':\n 'var(--filter-search-section-foreground, {colors.neutral.foreground.3.enabled})',\n '--text-input-left-section-position':\n 'var(--filter-search-section-position, {spacing.400})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"mFAOA,MAAa,EAAsB,EAAoB,MAAM,CAC3D,UAAW,0BACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,4BACE,iDACF,kCACE,kDACF,kCACE,iFACF,qCACE,uDACH,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{selectSearchWrapper as e}from"../dropdown/select/select-search-wrapper.mjs";const t=e.merge({className:`filter__search__wrapper`,jsx:[`Filter`],base:{"--text-input-left-section-width":`{sizes.100}`,"--text-input-left-section-position":`{spacing.400}`,"--text-input-section-foreground":`{colors.neutral.foreground.3.enabled}`,"--text-input-wrapper-position":`sticky`,"--text-input-wrapper-margin-top":`{spacing.0}`,"--select-search-wrapper-background":`{colors.neutral.background.1.enabled}`,"--select-search-wrapper-foreground":`{colors.neutral.foreground.1.enabled}`,"--select-search-wrapper-padding-block":`{spacing.200}`,"--select-search-wrapper-padding-inline":`{spacing.200}`,"--select-search-wrapper-margin-block":`{spacing.0}`,"--select-search-wrapper-margin-inline-start":`{spacing.0}`,"--select-search-wrapper-margin-inline-end":`{spacing.0}`,"--select-search-wrapper-radius":`{radii.900}`,"--select-search-wrapper-border-width":`{borders.0}`,"--select-search-wrapper-border-style":`solid`,"--select-search-wrapper-border-color":`red`,"--select-search-wrapper-height":`{sizes.700}`,"--select-search-wrapper-inset":`0`,"--select-search-wrapper-transition":`{animations.base.100}`}});export{t as filterSearchWrapper};
2
+ //# sourceMappingURL=filter-search-wrapper.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-search-wrapper.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/filter-search-wrapper.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { selectSearchWrapper } from '../dropdown/select/select-search-wrapper';\n\nexport const filterSearchWrapper = selectSearchWrapper.merge({\n className: 'filter__search__wrapper',\n jsx: ['Filter'],\n base: {\n '--text-input-left-section-width': '{sizes.100}',\n '--text-input-left-section-position': '{spacing.400}',\n '--text-input-section-foreground': '{colors.neutral.foreground.3.enabled}',\n\n '--text-input-wrapper-position': 'sticky',\n '--text-input-wrapper-margin-top': '{spacing.0}',\n\n '--select-search-wrapper-background':\n '{colors.neutral.background.1.enabled}',\n '--select-search-wrapper-foreground':\n '{colors.neutral.foreground.1.enabled}',\n '--select-search-wrapper-padding-block': '{spacing.200}',\n '--select-search-wrapper-padding-inline': '{spacing.200}',\n '--select-search-wrapper-margin-block': '{spacing.0}',\n '--select-search-wrapper-margin-inline-start': '{spacing.0}',\n '--select-search-wrapper-margin-inline-end': '{spacing.0}',\n '--select-search-wrapper-radius': '{radii.900}',\n '--select-search-wrapper-border-width': '{borders.0}',\n '--select-search-wrapper-border-style': 'solid',\n '--select-search-wrapper-border-color': 'red',\n '--select-search-wrapper-height': '{sizes.700}',\n '--select-search-wrapper-inset': '0',\n '--select-search-wrapper-transition': '{animations.base.100}',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"mFAOA,MAAa,EAAsB,EAAoB,MAAM,CAC3D,UAAW,0BACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,kCAAmC,cACnC,qCAAsC,gBACtC,kCAAmC,wCAEnC,gCAAiC,SACjC,kCAAmC,cAEnC,qCACE,wCACF,qCACE,wCACF,wCAAyC,gBACzC,yCAA0C,gBAC1C,uCAAwC,cACxC,8CAA+C,cAC/C,4CAA6C,cAC7C,iCAAkC,cAClC,uCAAwC,cACxC,uCAAwC,QACxC,uCAAwC,MACxC,iCAAkC,cAClC,gCAAiC,IACjC,qCAAsC,wBACvC,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{selectTextInput as e}from"../dropdown/select/select-text-input.mjs";const t=e.merge({className:`filter__text-input`,jsx:[`Filter`],base:{"--dropdown-text-input-root-gap":`{spacing.100}`,"--dropdown-text-input-root-width":`100%`,"--dropdown-text-input-root-flex-direction":`column`,"--dropdown-text-input-root-justify-content":`flex-start`,"--dropdown-text-input-root-align-items":`stretch`,"--dropdown-text-input-label-font-family":`{fonts.base}`,"--dropdown-text-input-label-font-size":`{fontSizes.400}`,"--dropdown-text-input-label-font-weight":`{fontWeights.medium}`,"--dropdown-text-input-label-line-height":`inherit`,"--dropdown-text-input-label-foreground":`{colors.neutral.foreground.1.enabled}`,"--dropdown-text-input-required-font-family":`{fonts.base}`,"--dropdown-text-input-required-font-size":`{fontSizes.400}`,"--dropdown-text-input-required-font-weight":`{fontWeights.medium}`,"--dropdown-text-input-required-foreground":`{colors.neutral.foreground.1.enabled}`,"--dropdown-text-input-required-foreground-error":`{colors.danger.foreground.1.enabled}`,"--dropdown-text-input-description-font-family":`{fonts.base}`,"--dropdown-text-input-description-font-size":`{fontSizes.300}`,"--dropdown-text-input-description-font-weight":`{fontWeights.regular}`,"--dropdown-text-input-description-line-height":`inherit`,"--dropdown-text-input-description-foreground":`{colors.neutral.foreground.2.enabled}`,"--dropdown-text-input-error-font-family":`{fonts.base}`,"--dropdown-text-input-error-font-size":`{fontSizes.300}`,"--dropdown-text-input-error-font-weight":`{fontWeights.regular}`,"--dropdown-text-input-error-line-height":`inherit`,"--dropdown-text-input-error-foreground":`{colors.danger.foreground.1.enabled}`,"--dropdown-text-input-wrapper-margin-top":`{spacing.100}`,"--dropdown-text-input-wrapper-width":`100%`,"--dropdown-text-input-wrapper-flex":`1`,"--dropdown-text-input-wrapper-disabled-opacity":`0.5`,"--dropdown-text-input-input-font-family":`{fonts.base}`,"--dropdown-text-input-input-font-size":`{fontSizes.300}`,"--dropdown-text-input-input-font-weight":`{fontWeights.regular}`,"--dropdown-text-input-input-line-height":`inherit`,"--dropdown-text-input-input-text-align":`left`,"--dropdown-text-input-input-background":`transparent`,"--dropdown-text-input-input-foreground":`{colors.primary.foreground.2.enabled}`,"--dropdown-text-input-input-placeholder-foreground":`{colors.primary.foreground.2.enabled}`,"--text-input-input-hover-border-color":`{colors.primary.stroke.3.hovered}`,"--text-input-input-hover-foreground":`{colors.primary.foreground.2.hovered}`,"--dropdown-text-input-input-border-width":`{borders.100}`,"--dropdown-text-input-input-border-color":`{colors.primary.stroke.3.enabled}`,"--dropdown-text-input-input-border-color-error":`{colors.danger.stroke.1.enabled}`,"--dropdown-text-input-input-border-style":`solid`,"--dropdown-text-input-input-radii":`{radii.900}`,"--dropdown-text-input-input-height":`{sizes.600}`,"--dropdown-text-input-input-padding-inline-start":`{spacing.0}`,"--dropdown-text-input-input-padding-inline-end":`{spacing.0}`,"--dropdown-text-input-input-width":`100%`,"--dropdown-text-input-input-min-width":`unset`,"--dropdown-text-input-input-field-sizing":`fixed`,"--dropdown-text-input-input-focus-outline-width":`{borders.150}`,"--dropdown-text-input-input-focus-outline-style":`solid`,"--dropdown-text-input-input-focus-outline-offset":`{spacing.50}`,"--dropdown-text-input-input-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--dropdown-text-input-input-focus-border-color":`{colors.primary.stroke.3.hovered}`,"--dropdown-text-input-input-focus-shadow":`none`,"--dropdown-text-input-section-size":`{sizes.600}`,"--dropdown-text-input-left-section-width":`{sizes.500}`,"--dropdown-text-input-right-section-width":`{sizes.500}`,"--dropdown-text-input-left-section-position":`{spacing.200}`,"--dropdown-text-input-right-section-position":`{spacing.200}`,"--dropdown-text-input-left-section-pointer-events":`none`,"--dropdown-text-input-right-section-pointer-events":`none`}});export{t as filterTextInput};
2
+ //# sourceMappingURL=filter-text-input.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-text-input.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/filter-text-input.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { selectTextInput } from '../dropdown/select/select-text-input';\n\nexport const filterTextInput = selectTextInput.merge({\n className: 'filter__text-input',\n jsx: ['Filter'],\n base: {\n /* Root */\n '--dropdown-text-input-root-gap': '{spacing.100}',\n '--dropdown-text-input-root-width': '100%',\n '--dropdown-text-input-root-flex-direction': 'column',\n '--dropdown-text-input-root-justify-content': 'flex-start',\n '--dropdown-text-input-root-align-items': 'stretch',\n\n /* Label */\n '--dropdown-text-input-label-font-family': '{fonts.base}',\n '--dropdown-text-input-label-font-size': '{fontSizes.400}',\n '--dropdown-text-input-label-font-weight': '{fontWeights.medium}',\n '--dropdown-text-input-label-line-height': 'inherit',\n '--dropdown-text-input-label-foreground':\n '{colors.neutral.foreground.1.enabled}',\n\n /* Required */\n '--dropdown-text-input-required-font-family': '{fonts.base}',\n '--dropdown-text-input-required-font-size': '{fontSizes.400}',\n '--dropdown-text-input-required-font-weight': '{fontWeights.medium}',\n '--dropdown-text-input-required-foreground':\n '{colors.neutral.foreground.1.enabled}',\n '--dropdown-text-input-required-foreground-error':\n '{colors.danger.foreground.1.enabled}',\n\n /* Description */\n '--dropdown-text-input-description-font-family': '{fonts.base}',\n '--dropdown-text-input-description-font-size': '{fontSizes.300}',\n '--dropdown-text-input-description-font-weight': '{fontWeights.regular}',\n '--dropdown-text-input-description-line-height': 'inherit',\n '--dropdown-text-input-description-foreground':\n '{colors.neutral.foreground.2.enabled}',\n\n /* Error */\n '--dropdown-text-input-error-font-family': '{fonts.base}',\n '--dropdown-text-input-error-font-size': '{fontSizes.300}',\n '--dropdown-text-input-error-font-weight': '{fontWeights.regular}',\n '--dropdown-text-input-error-line-height': 'inherit',\n '--dropdown-text-input-error-foreground':\n '{colors.danger.foreground.1.enabled}',\n\n /* Input Wrapper */\n '--dropdown-text-input-wrapper-margin-top': '{spacing.100}',\n '--dropdown-text-input-wrapper-width': '100%',\n '--dropdown-text-input-wrapper-flex': '1',\n '--dropdown-text-input-wrapper-disabled-opacity': '0.5',\n\n /* Input */\n '--dropdown-text-input-input-font-family': '{fonts.base}',\n '--dropdown-text-input-input-font-size': '{fontSizes.300}',\n '--dropdown-text-input-input-font-weight': '{fontWeights.regular}',\n '--dropdown-text-input-input-line-height': 'inherit',\n '--dropdown-text-input-input-text-align': 'left',\n '--dropdown-text-input-input-background': 'transparent',\n '--dropdown-text-input-input-foreground':\n '{colors.primary.foreground.2.enabled}',\n '--dropdown-text-input-input-placeholder-foreground':\n '{colors.primary.foreground.2.enabled}',\n '--text-input-input-hover-border-color':\n '{colors.primary.stroke.3.hovered}',\n '--text-input-input-hover-foreground':\n '{colors.primary.foreground.2.hovered}',\n\n /* Input - Border & Focus */\n '--dropdown-text-input-input-border-width': '{borders.100}',\n '--dropdown-text-input-input-border-color':\n '{colors.primary.stroke.3.enabled}',\n '--dropdown-text-input-input-border-color-error':\n '{colors.danger.stroke.1.enabled}',\n '--dropdown-text-input-input-border-style': 'solid',\n '--dropdown-text-input-input-radii': '{radii.900}',\n\n /* Input sizing & spacing */\n '--dropdown-text-input-input-height': '{sizes.600}',\n '--dropdown-text-input-input-padding-inline-start': '{spacing.0}',\n '--dropdown-text-input-input-padding-inline-end': '{spacing.0}',\n '--dropdown-text-input-input-width': '100%',\n '--dropdown-text-input-input-min-width': 'unset',\n '--dropdown-text-input-input-field-sizing': 'fixed',\n\n /* Input - Focus */\n '--dropdown-text-input-input-focus-outline-width': '{borders.150}',\n '--dropdown-text-input-input-focus-outline-style': 'solid',\n '--dropdown-text-input-input-focus-outline-offset': '{spacing.50}',\n '--dropdown-text-input-input-focus-outline-color':\n '{colors.primary.stroke.1.focused}',\n '--dropdown-text-input-input-focus-border-color':\n '{colors.primary.stroke.3.hovered}',\n '--dropdown-text-input-input-focus-shadow': 'none',\n\n /* Sections */\n '--dropdown-text-input-section-size': '{sizes.600}',\n '--dropdown-text-input-left-section-width': '{sizes.500}',\n '--dropdown-text-input-right-section-width': '{sizes.500}',\n '--dropdown-text-input-left-section-position': '{spacing.200}',\n '--dropdown-text-input-right-section-position': '{spacing.200}',\n '--dropdown-text-input-left-section-pointer-events': 'none',\n '--dropdown-text-input-right-section-pointer-events': 'none',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"2EAOA,MAAa,EAAkB,EAAgB,MAAM,CACnD,UAAW,qBACX,IAAK,CAAC,SAAS,CACf,KAAM,CAEJ,iCAAkC,gBAClC,mCAAoC,OACpC,4CAA6C,SAC7C,6CAA8C,aAC9C,yCAA0C,UAG1C,0CAA2C,eAC3C,wCAAyC,kBACzC,0CAA2C,uBAC3C,0CAA2C,UAC3C,yCACE,wCAGF,6CAA8C,eAC9C,2CAA4C,kBAC5C,6CAA8C,uBAC9C,4CACE,wCACF,kDACE,uCAGF,gDAAiD,eACjD,8CAA+C,kBAC/C,gDAAiD,wBACjD,gDAAiD,UACjD,+CACE,wCAGF,0CAA2C,eAC3C,wCAAyC,kBACzC,0CAA2C,wBAC3C,0CAA2C,UAC3C,yCACE,uCAGF,2CAA4C,gBAC5C,sCAAuC,OACvC,qCAAsC,IACtC,iDAAkD,MAGlD,0CAA2C,eAC3C,wCAAyC,kBACzC,0CAA2C,wBAC3C,0CAA2C,UAC3C,yCAA0C,OAC1C,yCAA0C,cAC1C,yCACE,wCACF,qDACE,wCACF,wCACE,oCACF,sCACE,wCAGF,2CAA4C,gBAC5C,2CACE,oCACF,iDACE,mCACF,2CAA4C,QAC5C,oCAAqC,cAGrC,qCAAsC,cACtC,mDAAoD,cACpD,iDAAkD,cAClD,oCAAqC,OACrC,wCAAyC,QACzC,2CAA4C,QAG5C,kDAAmD,gBACnD,kDAAmD,QACnD,mDAAoD,eACpD,kDACE,oCACF,iDACE,oCACF,2CAA4C,OAG5C,qCAAsC,cACtC,2CAA4C,cAC5C,4CAA6C,cAC7C,8CAA+C,gBAC/C,+CAAgD,gBAChD,oDAAqD,OACrD,qDAAsD,OACvD,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{select as e}from"../dropdown/select/select.mjs";const t=e.merge({className:`filter`,jsx:[`Filter`],base:{"--dropdown-background":`{colors.neutral.background.1.enabled}`,"--dropdown-border-width":`{borders.100}`,"--dropdown-border-style":`solid`,"--dropdown-border-color":`{colors.primary.stroke.3.enabled}`,"--dropdown-padding-inline":`{spacing.200}`,"--dropdown-padding-block":`{spacing.200}`,"--dropdown-padding-block-start":`{spacing.200}`,"--dropdown-radii":`{radii.200}`,"--dropdown-margin-top":`{spacing.0}`,"--dropdown-options-gap":`{spacing.100}`,"--dropdown-options-padding-block-start":`{spacing.0}`,"--dropdown-options-padding-inline-start":`{spacing.0}`,"--select-searchable-options-padding-block-start":`{spacing.100}`,"--select-searchable-options-padding-inline-start":`{spacing.200}`,"--dropdown-option-gap":`{spacing.200}`,"--dropdown-option-font-family":`{fonts.base}`,"--dropdown-option-font-size":`{fontSizes.300}`,"--dropdown-option-line-height":`{lineHeights.400}`,"--dropdown-option-padding-inline":`{spacing.200}`,"--dropdown-option-padding-block":`{spacing.100}`,"--dropdown-option-radii":`{radii.100}`,"--dropdown-option-background":`transparent`,"--dropdown-option-foreground":`{colors.neutral.foreground.1.enabled}`,"--dropdown-option-transition":`{animations.base.100}`,"--dropdown-option-background-hover":`{colors.neutral.background.2.hovered}`,"--dropdown-option-foreground-hover":`{colors.neutral.foreground.1.hovered}`,"--dropdown-option-background-selected":`{colors.neutral.background.2.primary.selected}`,"--dropdown-option-foreground-selected":`{colors.neutral.foreground.2.primary.selected}`,"--dropdown-option-background-selected-hovered":`{colors.neutral.background.2.primary.selectedHovered}`,"--dropdown-option-foreground-selected-hovered":`{colors.neutral.foreground.2.primary.selectedHovered}`,"--dropdown-option-background-active":`{colors.neutral.background.2.primary.selected}`,"--dropdown-option-foreground-active":`{colors.neutral.foreground.2.primary.selected}`,"--dropdown-empty-font-family":`{fonts.base}`,"--dropdown-empty-font-size":`{fontSizes.300}`,"--dropdown-empty-line-height":`1`,"--dropdown-empty-foreground":`{colors.neutral.foreground.4.enabled}`,"--dropdown-empty-padding-block":`{spacing.300}`,"--dropdown-empty-text-align":`center`}});export{t as filter};
2
+ //# sourceMappingURL=filter.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/filter.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { select } from '../dropdown/select/select';\n\nexport const filter = select.merge({\n className: 'filter',\n jsx: ['Filter'],\n base: {\n '--dropdown-background': '{colors.neutral.background.1.enabled}',\n\n '--dropdown-border-width': '{borders.100}',\n '--dropdown-border-style': 'solid',\n '--dropdown-border-color': '{colors.primary.stroke.3.enabled}',\n\n '--dropdown-padding-inline': '{spacing.200}',\n '--dropdown-padding-block': '{spacing.200}',\n '--dropdown-padding-block-start': '{spacing.200}',\n\n '--dropdown-radii': '{radii.200}',\n\n '--dropdown-margin-top': '{spacing.0}',\n\n '--dropdown-options-gap': '{spacing.100}',\n '--dropdown-options-padding-block-start': '{spacing.0}',\n '--dropdown-options-padding-inline-start': '{spacing.0}',\n\n '--select-searchable-options-padding-block-start': '{spacing.100}',\n '--select-searchable-options-padding-inline-start': '{spacing.200}',\n\n '--dropdown-option-gap': '{spacing.200}',\n '--dropdown-option-font-family': '{fonts.base}',\n '--dropdown-option-font-size': '{fontSizes.300}',\n '--dropdown-option-line-height': '{lineHeights.400}',\n\n '--dropdown-option-padding-inline': '{spacing.200}',\n '--dropdown-option-padding-block': '{spacing.100}',\n\n '--dropdown-option-radii': '{radii.100}',\n\n '--dropdown-option-background': 'transparent',\n '--dropdown-option-foreground': '{colors.neutral.foreground.1.enabled}',\n\n '--dropdown-option-transition': '{animations.base.100}',\n\n '--dropdown-option-background-hover':\n '{colors.neutral.background.2.hovered}',\n '--dropdown-option-foreground-hover':\n '{colors.neutral.foreground.1.hovered}',\n\n '--dropdown-option-background-selected':\n '{colors.neutral.background.2.primary.selected}',\n '--dropdown-option-foreground-selected':\n '{colors.neutral.foreground.2.primary.selected}',\n\n '--dropdown-option-background-selected-hovered':\n '{colors.neutral.background.2.primary.selectedHovered}',\n '--dropdown-option-foreground-selected-hovered':\n '{colors.neutral.foreground.2.primary.selectedHovered}',\n\n '--dropdown-option-background-active':\n '{colors.neutral.background.2.primary.selected}',\n '--dropdown-option-foreground-active':\n '{colors.neutral.foreground.2.primary.selected}',\n\n '--dropdown-empty-font-family': '{fonts.base}',\n '--dropdown-empty-font-size': '{fontSizes.300}',\n '--dropdown-empty-line-height': '1',\n '--dropdown-empty-foreground': '{colors.neutral.foreground.4.enabled}',\n '--dropdown-empty-padding-block': '{spacing.300}',\n '--dropdown-empty-text-align': 'center',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAOA,MAAa,EAAS,EAAO,MAAM,CACjC,UAAW,SACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,wBAAyB,wCAEzB,0BAA2B,gBAC3B,0BAA2B,QAC3B,0BAA2B,oCAE3B,4BAA6B,gBAC7B,2BAA4B,gBAC5B,iCAAkC,gBAElC,mBAAoB,cAEpB,wBAAyB,cAEzB,yBAA0B,gBAC1B,yCAA0C,cAC1C,0CAA2C,cAE3C,kDAAmD,gBACnD,mDAAoD,gBAEpD,wBAAyB,gBACzB,gCAAiC,eACjC,8BAA+B,kBAC/B,gCAAiC,oBAEjC,mCAAoC,gBACpC,kCAAmC,gBAEnC,0BAA2B,cAE3B,+BAAgC,cAChC,+BAAgC,wCAEhC,+BAAgC,wBAEhC,qCACE,wCACF,qCACE,wCAEF,wCACE,iDACF,wCACE,iDAEF,gDACE,wDACF,gDACE,wDAEF,sCACE,iDACF,sCACE,iDAEF,+BAAgC,eAChC,6BAA8B,kBAC9B,+BAAgC,IAChC,8BAA+B,wCAC/B,iCAAkC,gBAClC,8BAA+B,SAChC,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{filter as e}from"./filter.mjs";import{filterChevron as t}from"./filter-chevron.mjs";import{filterClearButton as n}from"./filter-clear-button.mjs";import{filterSearchInput as r}from"./filter-search-input.mjs";import{filterSearchSection as i}from"./filter-search-section.mjs";import{filterSearchWrapper as a}from"./filter-search-wrapper.mjs";import{filterTextInput as o}from"./filter-text-input.mjs";var s={filter:e,filterSearchInput:r,filterSearchSection:i,filterSearchWrapper:a,filterTextInput:o,filterChevron:t,filterClearButton:n};export{s as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/recipes/controls/filter/index.ts"],"sourcesContent":["import { filter } from './filter';\nimport { filterChevron } from './filter-chevron';\nimport { filterClearButton } from './filter-clear-button';\nimport { filterSearchInput } from './filter-search-input';\nimport { filterSearchSection } from './filter-search-section';\nimport { filterSearchWrapper } from './filter-search-wrapper';\nimport { filterTextInput } from './filter-text-input';\n\nexport default {\n filter,\n filterSearchInput,\n filterSearchSection,\n filterSearchWrapper,\n filterTextInput,\n filterChevron,\n filterClearButton,\n};\n"],"mappings":"qZAQA,IAAA,EAAe,CACb,SACA,oBACA,sBACA,sBACA,kBACA,gBACA,oBACD"}
@@ -1,2 +1,2 @@
1
- import e from"./checkbox/index.mjs";import t from"./checkbox-group/index.mjs";import n from"./date-picker/index.mjs";import r from"./dropdown/index.mjs";import i from"./dropdown/autocomplete/index.mjs";import a from"./dropdown/combobox/index.mjs";import o from"./dropdown/select/index.mjs";import s from"./dropzone/index.mjs";import c from"./dropzone-files/index.mjs";import l from"./file-input/index.mjs";import u from"./password-input/index.mjs";import d from"./password-input-strength/index.mjs";import f from"./password-strength-input/index.mjs";import p from"./radio/index.mjs";import m from"./radio-group/index.mjs";import h from"./switch/index.mjs";import g from"./text-input/index.mjs";import _ from"./textarea/index.mjs";var v={...g,...u,...d,...f,...l,..._,...e,...t,...p,...m,...h,...a,...r,...o,...i,...n,...s,...c};export{v as default};
1
+ import e from"./checkbox/index.mjs";import t from"./checkbox-group/index.mjs";import n from"./datatable-searcher/index.mjs";import r from"./date-picker/index.mjs";import i from"./dropdown/index.mjs";import a from"./dropdown/autocomplete/index.mjs";import o from"./dropdown/combobox/index.mjs";import s from"./dropdown/select/index.mjs";import c from"./dropzone/index.mjs";import l from"./dropzone-files/index.mjs";import u from"./file-input/index.mjs";import d from"./filter/index.mjs";import f from"./password-input/index.mjs";import p from"./password-input-strength/index.mjs";import m from"./password-strength-input/index.mjs";import h from"./radio/index.mjs";import g from"./radio-group/index.mjs";import _ from"./switch/index.mjs";import v from"./switch-group/index.mjs";import y from"./text-input/index.mjs";import b from"./textarea/index.mjs";var x={...y,...f,...p,...m,...u,...b,...e,...t,...h,...g,..._,...v,...o,...i,...s,...a,...r,...c,...l,...d,...n};export{x as default};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["textInput","passwordInput","passwordInputStrength","passwordStrengthInput","fileInput","textarea","checkbox","checkboxGroup","radio","radioGroup","switch_","combobox","dropdown","select","autocomplete","datePicker","dropzone","dropzoneFiles"],"sources":["../../../src/recipes/controls/index.ts"],"sourcesContent":["import checkbox from './checkbox';\nimport checkboxGroup from './checkbox-group';\nimport datePicker from './date-picker';\nimport dropdown from './dropdown';\nimport autocomplete from './dropdown/autocomplete';\nimport combobox from './dropdown/combobox';\nimport select from './dropdown/select';\nimport dropzone from './dropzone';\nimport dropzoneFiles from './dropzone-files';\nimport fileInput from './file-input';\n// import multiSelect from './multi-select';\n// import multiSelectTags from './multi-select-tags';\nimport passwordInput from './password-input';\nimport passwordInputStrength from './password-input-strength';\nimport passwordStrengthInput from './password-strength-input';\nimport radio from './radio';\nimport radioGroup from './radio-group';\nimport switch_ from './switch';\nimport textInput from './text-input';\nimport textarea from './textarea';\n\nexport default {\n ...textInput,\n ...passwordInput,\n ...passwordInputStrength,\n ...passwordStrengthInput,\n ...fileInput,\n ...textarea,\n ...checkbox,\n ...checkboxGroup,\n ...radio,\n ...radioGroup,\n ...switch_,\n ...combobox,\n ...dropdown,\n ...select,\n // ...multiSelect,\n // ...multiSelectTags,\n ...autocomplete,\n ...datePicker,\n ...dropzone,\n ...dropzoneFiles,\n};\n"],"mappings":"0tBAqBA,IAAA,EAAe,CACb,GAAGA,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EAGH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACJ"}
1
+ {"version":3,"file":"index.mjs","names":["textInput","passwordInput","passwordInputStrength","passwordStrengthInput","fileInput","textarea","checkbox","checkboxGroup","radio","radioGroup","switch_","switchGroup","combobox","dropdown","select","autocomplete","datePicker","dropzone","dropzoneFiles","filter","dataTableSearcher"],"sources":["../../../src/recipes/controls/index.ts"],"sourcesContent":["import checkbox from './checkbox';\nimport checkboxGroup from './checkbox-group';\nimport dataTableSearcher from './datatable-searcher';\nimport datePicker from './date-picker';\nimport dropdown from './dropdown';\nimport autocomplete from './dropdown/autocomplete';\nimport combobox from './dropdown/combobox';\nimport select from './dropdown/select';\nimport dropzone from './dropzone';\nimport dropzoneFiles from './dropzone-files';\nimport fileInput from './file-input';\nimport filter from './filter';\n// import multiSelect from './multi-select';\n// import multiSelectTags from './multi-select-tags';\nimport passwordInput from './password-input';\nimport passwordInputStrength from './password-input-strength';\nimport passwordStrengthInput from './password-strength-input';\nimport radio from './radio';\nimport radioGroup from './radio-group';\nimport switch_ from './switch';\nimport switchGroup from './switch-group';\nimport textInput from './text-input';\nimport textarea from './textarea';\n\nexport default {\n ...textInput,\n ...passwordInput,\n ...passwordInputStrength,\n ...passwordStrengthInput,\n ...fileInput,\n ...textarea,\n ...checkbox,\n ...checkboxGroup,\n ...radio,\n ...radioGroup,\n ...switch_,\n ...switchGroup,\n ...combobox,\n ...dropdown,\n ...select,\n // ...multiSelect,\n // ...multiSelectTags,\n ...autocomplete,\n ...datePicker,\n ...dropzone,\n ...dropzoneFiles,\n ...filter,\n ...dataTableSearcher,\n};\n"],"mappings":"k1BAwBA,IAAA,EAAe,CACb,GAAGA,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EAGH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACJ"}
@@ -1,2 +1,2 @@
1
- import{textInputRoot as e}from"../text-input/text-input-root.mjs";const t=e.merge({className:`radio-group__root`,jsx:[`RadioGroup`],base:{order:`2`}});export{t as radioGroupRoot};
1
+ import{textInputRoot as e}from"../text-input/text-input-root.mjs";const t=e.merge({className:`radio-group__root`,jsx:[`RadioGroup`],base:{'& > [role="radiogroup"]':{order:`var(--radio-group-group-order, 2)`}}});export{t as radioGroupRoot};
2
2
  //# sourceMappingURL=radio-group-root.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group-root.mjs","names":[],"sources":["../../../../src/recipes/controls/radio-group/radio-group-root.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInputRoot } from '../text-input/text-input-root';\n\nexport const radioGroupRoot = textInputRoot.merge({\n className: 'radio-group__root',\n jsx: ['RadioGroup'],\n base: {\n order: '2',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"kEAOA,MAAa,EAAiB,EAAc,MAAM,CAChD,UAAW,oBACX,IAAK,CAAC,aAAa,CACnB,KAAM,CACJ,MAAO,IACR,CACF,CAAC"}
1
+ {"version":3,"file":"radio-group-root.mjs","names":[],"sources":["../../../../src/recipes/controls/radio-group/radio-group-root.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInputRoot } from '../text-input/text-input-root';\n\nexport const radioGroupRoot = textInputRoot.merge({\n className: 'radio-group__root',\n jsx: ['RadioGroup'],\n base: {\n '& > [role=\"radiogroup\"]': {\n order: 'var(--radio-group-group-order, 2)',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"kEAOA,MAAa,EAAiB,EAAc,MAAM,CAChD,UAAW,oBACX,IAAK,CAAC,aAAa,CACnB,KAAM,CACJ,0BAA2B,CACzB,MAAO,oCACR,CACF,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`radio-group`,jsx:[`RadioGroup`],base:{"--text-input-root-gap":`var(--radio-group-root-gap, {spacing.100})`,"--radio-group-group-direction":`column`,"--radio-group-group-gap":`{spacing.400}`,"--radio-group-group-margin-top":`{spacing.400}`,"--text-input-label-order":`var(--radio-group-label-order, 0)`,"--text-input-label-font-family":`var(--radio-group-label-font-family, {fonts.base})`,"--text-input-label-font-size":`var(--radio-group-label-font-size, {fontSizes.300})`,"--text-input-label-font-weight":`var(--radio-group-label-font-weight, {fontWeights.medium})`,"--text-input-label-line-height":`var(--radio-group-label-line-height, inherit)`,"--text-input-label-foreground":`var(--radio-group-label-foreground, {colors.neutral.foreground.1.enabled})`,"--text-input-required-font-family":`var(--radio-group-required-font-family, {fonts.base})`,"--text-input-required-font-size":`var(--radio-group-required-font-size, {fontSizes.300})`,"--text-input-required-font-weight":`var(--radio-group-required-font-weight, {fontWeights.medium})`,"--text-input-required-color":`var(--radio-group-required-color, {colors.neutral.foreground.1.enabled})`,"--text-input-required-foreground-error":`var(--radio-group-required-foreground-error, {colors.danger.foreground.1.enabled})`,"--text-input-description-order":`var(--radio-group-description-order, 0)`,"--text-input-description-font-family":`var(--radio-group-description-font-family, {fonts.base})`,"--text-input-description-font-size":`var(--radio-group-description-font-size, {fontSizes.200})`,"--text-input-description-font-weight":`var(--radio-group-description-font-weight, {fontWeights.regular})`,"--text-input-description-line-height":`var(--radio-group-description-line-height, inherit)`,"--text-input-description-foreground":`var(--radio-group-description-foreground, {colors.neutral.foreground.2.enabled})`,"--text-input-error-order":`var(--radio-group-error-order, 4)`,"--text-input-error-font-family":`var(--radio-group-error-font-family, {fonts.base})`,"--text-input-error-font-size":`var(--radio-group-error-font-size, {fontSizes.200})`,"--text-input-error-font-weight":`var(--radio-group-error-font-weight, {fontWeights.regular})`,"--text-input-error-line-height":`var(--radio-group-error-line-height, inherit)`,"--text-input-error-foreground":`var(--radio-group-error-foreground, {colors.danger.foreground.1.enabled})`}});export{t as radioGroup};
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`radio-group`,jsx:[`RadioGroup`],base:{"--text-input-root-gap":`var(--radio-group-root-gap, {spacing.100})`,"--radio-group-group-direction":`column`,"--radio-group-group-gap":`{spacing.400}`,"--radio-group-group-margin-top":`{spacing.400}`,"--radio-group-group-order":`2`,"--text-input-label-order":`var(--radio-group-label-order, 0)`,"--text-input-label-font-family":`var(--radio-group-label-font-family, {fonts.base})`,"--text-input-label-font-size":`var(--radio-group-label-font-size, {fontSizes.300})`,"--text-input-label-font-weight":`var(--radio-group-label-font-weight, {fontWeights.medium})`,"--text-input-label-line-height":`var(--radio-group-label-line-height, inherit)`,"--text-input-label-foreground":`var(--radio-group-label-foreground, {colors.neutral.foreground.1.enabled})`,"--text-input-required-font-family":`var(--radio-group-required-font-family, {fonts.base})`,"--text-input-required-font-size":`var(--radio-group-required-font-size, {fontSizes.300})`,"--text-input-required-font-weight":`var(--radio-group-required-font-weight, {fontWeights.medium})`,"--text-input-required-color":`var(--radio-group-required-color, {colors.neutral.foreground.1.enabled})`,"--text-input-required-foreground-error":`var(--radio-group-required-foreground-error, {colors.danger.foreground.1.enabled})`,"--text-input-description-order":`var(--radio-group-description-order, 0)`,"--text-input-description-font-family":`var(--radio-group-description-font-family, {fonts.base})`,"--text-input-description-font-size":`var(--radio-group-description-font-size, {fontSizes.200})`,"--text-input-description-font-weight":`var(--radio-group-description-font-weight, {fontWeights.regular})`,"--text-input-description-line-height":`var(--radio-group-description-line-height, inherit)`,"--text-input-description-foreground":`var(--radio-group-description-foreground, {colors.neutral.foreground.2.enabled})`,"--text-input-error-order":`var(--radio-group-error-order, 4)`,"--text-input-error-font-family":`var(--radio-group-error-font-family, {fonts.base})`,"--text-input-error-font-size":`var(--radio-group-error-font-size, {fontSizes.200})`,"--text-input-error-font-weight":`var(--radio-group-error-font-weight, {fontWeights.regular})`,"--text-input-error-line-height":`var(--radio-group-error-line-height, inherit)`,"--text-input-error-foreground":`var(--radio-group-error-foreground, {colors.danger.foreground.1.enabled})`}});export{t as radioGroup};
2
2
  //# sourceMappingURL=radio-group.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.mjs","names":[],"sources":["../../../../src/recipes/controls/radio-group/radio-group.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const radioGroup = defineRecipe({\n className: 'radio-group',\n jsx: ['RadioGroup'],\n base: {\n // root\n '--text-input-root-gap': 'var(--radio-group-root-gap, {spacing.100})',\n\n // group\n '--radio-group-group-direction': 'column',\n '--radio-group-group-gap': '{spacing.400}',\n '--radio-group-group-margin-top': '{spacing.400}',\n\n // label\n '--text-input-label-order': 'var(--radio-group-label-order, 0)',\n '--text-input-label-font-family':\n 'var(--radio-group-label-font-family, {fonts.base})',\n '--text-input-label-font-size':\n 'var(--radio-group-label-font-size, {fontSizes.300})',\n '--text-input-label-font-weight':\n 'var(--radio-group-label-font-weight, {fontWeights.medium})',\n '--text-input-label-line-height':\n 'var(--radio-group-label-line-height, inherit)',\n '--text-input-label-foreground':\n 'var(--radio-group-label-foreground, {colors.neutral.foreground.1.enabled})',\n\n // required\n '--text-input-required-font-family':\n 'var(--radio-group-required-font-family, {fonts.base})',\n '--text-input-required-font-size':\n 'var(--radio-group-required-font-size, {fontSizes.300})',\n '--text-input-required-font-weight':\n 'var(--radio-group-required-font-weight, {fontWeights.medium})',\n '--text-input-required-color':\n 'var(--radio-group-required-color, {colors.neutral.foreground.1.enabled})',\n '--text-input-required-foreground-error':\n 'var(--radio-group-required-foreground-error, {colors.danger.foreground.1.enabled})',\n\n // description\n '--text-input-description-order': 'var(--radio-group-description-order, 0)',\n '--text-input-description-font-family':\n 'var(--radio-group-description-font-family, {fonts.base})',\n '--text-input-description-font-size':\n 'var(--radio-group-description-font-size, {fontSizes.200})',\n '--text-input-description-font-weight':\n 'var(--radio-group-description-font-weight, {fontWeights.regular})',\n '--text-input-description-line-height':\n 'var(--radio-group-description-line-height, inherit)',\n '--text-input-description-foreground':\n 'var(--radio-group-description-foreground, {colors.neutral.foreground.2.enabled})',\n\n // error\n '--text-input-error-order': 'var(--radio-group-error-order, 4)',\n '--text-input-error-font-family':\n 'var(--radio-group-error-font-family, {fonts.base})',\n '--text-input-error-font-size':\n 'var(--radio-group-error-font-size, {fontSizes.200})',\n '--text-input-error-font-weight':\n 'var(--radio-group-error-font-weight, {fontWeights.regular})',\n '--text-input-error-line-height':\n 'var(--radio-group-error-line-height, inherit)',\n '--text-input-error-foreground':\n 'var(--radio-group-error-foreground, {colors.danger.foreground.1.enabled})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAa,EAAa,CACrC,UAAW,cACX,IAAK,CAAC,aAAa,CACnB,KAAM,CAEJ,wBAAyB,6CAGzB,gCAAiC,SACjC,0BAA2B,gBAC3B,iCAAkC,gBAGlC,2BAA4B,oCAC5B,iCACE,qDACF,+BACE,sDACF,iCACE,6DACF,iCACE,gDACF,gCACE,6EAGF,oCACE,wDACF,kCACE,yDACF,oCACE,gEACF,8BACE,2EACF,yCACE,qFAGF,iCAAkC,0CAClC,uCACE,2DACF,qCACE,4DACF,uCACE,oEACF,uCACE,sDACF,sCACE,mFAGF,2BAA4B,oCAC5B,iCACE,qDACF,+BACE,sDACF,iCACE,8DACF,iCACE,gDACF,gCACE,4EACH,CACF,CAAC"}
1
+ {"version":3,"file":"radio-group.mjs","names":[],"sources":["../../../../src/recipes/controls/radio-group/radio-group.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const radioGroup = defineRecipe({\n className: 'radio-group',\n jsx: ['RadioGroup'],\n base: {\n // root\n '--text-input-root-gap': 'var(--radio-group-root-gap, {spacing.100})',\n\n // group\n '--radio-group-group-direction': 'column',\n '--radio-group-group-gap': '{spacing.400}',\n '--radio-group-group-margin-top': '{spacing.400}',\n '--radio-group-group-order': '2',\n\n // label\n '--text-input-label-order': 'var(--radio-group-label-order, 0)',\n '--text-input-label-font-family':\n 'var(--radio-group-label-font-family, {fonts.base})',\n '--text-input-label-font-size':\n 'var(--radio-group-label-font-size, {fontSizes.300})',\n '--text-input-label-font-weight':\n 'var(--radio-group-label-font-weight, {fontWeights.medium})',\n '--text-input-label-line-height':\n 'var(--radio-group-label-line-height, inherit)',\n '--text-input-label-foreground':\n 'var(--radio-group-label-foreground, {colors.neutral.foreground.1.enabled})',\n\n // required\n '--text-input-required-font-family':\n 'var(--radio-group-required-font-family, {fonts.base})',\n '--text-input-required-font-size':\n 'var(--radio-group-required-font-size, {fontSizes.300})',\n '--text-input-required-font-weight':\n 'var(--radio-group-required-font-weight, {fontWeights.medium})',\n '--text-input-required-color':\n 'var(--radio-group-required-color, {colors.neutral.foreground.1.enabled})',\n '--text-input-required-foreground-error':\n 'var(--radio-group-required-foreground-error, {colors.danger.foreground.1.enabled})',\n\n // description\n '--text-input-description-order': 'var(--radio-group-description-order, 0)',\n '--text-input-description-font-family':\n 'var(--radio-group-description-font-family, {fonts.base})',\n '--text-input-description-font-size':\n 'var(--radio-group-description-font-size, {fontSizes.200})',\n '--text-input-description-font-weight':\n 'var(--radio-group-description-font-weight, {fontWeights.regular})',\n '--text-input-description-line-height':\n 'var(--radio-group-description-line-height, inherit)',\n '--text-input-description-foreground':\n 'var(--radio-group-description-foreground, {colors.neutral.foreground.2.enabled})',\n\n // error\n '--text-input-error-order': 'var(--radio-group-error-order, 4)',\n '--text-input-error-font-family':\n 'var(--radio-group-error-font-family, {fonts.base})',\n '--text-input-error-font-size':\n 'var(--radio-group-error-font-size, {fontSizes.200})',\n '--text-input-error-font-weight':\n 'var(--radio-group-error-font-weight, {fontWeights.regular})',\n '--text-input-error-line-height':\n 'var(--radio-group-error-line-height, inherit)',\n '--text-input-error-foreground':\n 'var(--radio-group-error-foreground, {colors.danger.foreground.1.enabled})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAa,EAAa,CACrC,UAAW,cACX,IAAK,CAAC,aAAa,CACnB,KAAM,CAEJ,wBAAyB,6CAGzB,gCAAiC,SACjC,0BAA2B,gBAC3B,iCAAkC,gBAClC,4BAA6B,IAG7B,2BAA4B,oCAC5B,iCACE,qDACF,+BACE,sDACF,iCACE,6DACF,iCACE,gDACF,gCACE,6EAGF,oCACE,wDACF,kCACE,yDACF,oCACE,gEACF,8BACE,2EACF,yCACE,qFAGF,iCAAkC,0CAClC,uCACE,2DACF,qCACE,4DACF,uCACE,oEACF,uCACE,sDACF,sCACE,mFAGF,2BAA4B,oCAC5B,iCACE,qDACF,+BACE,sDACF,iCACE,8DACF,iCACE,gDACF,gCACE,4EACH,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__body`,jsx:[`Switch`],base:{display:`flex`,flexDirection:`row`,alignItems:`var(--switch-body-align, center)`,gap:`var(--switch-body-gap, {spacing.200})`,':is([data-label-position="left"]) &':{flexDirection:`row-reverse`}}});export{t as switchBody};
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__body`,jsx:[`Switch`],base:{display:`flex`,flexDirection:`row`,alignItems:`var(--switch-body-align, center)`,justifyContent:`var(--switch-body-justify, flex-start)`,gap:`var(--switch-body-gap, {spacing.200})`,':is([data-label-position="left"]) &':{flexDirection:`row-reverse`}}});export{t as switchBody};
2
2
  //# sourceMappingURL=switch-body.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch-body.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-body.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchBody = defineRecipe({\n className: 'switch__body',\n jsx: ['Switch'],\n base: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'var(--switch-body-align, center)',\n gap: 'var(--switch-body-gap, {spacing.200})',\n ':is([data-label-position=\"left\"]) &': {\n flexDirection: 'row-reverse',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAa,EAAa,CACrC,UAAW,eACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,QAAS,OACT,cAAe,MACf,WAAY,mCACZ,IAAK,wCACL,sCAAuC,CACrC,cAAe,cAChB,CACF,CACF,CAAC"}
1
+ {"version":3,"file":"switch-body.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-body.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchBody = defineRecipe({\n className: 'switch__body',\n jsx: ['Switch'],\n base: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'var(--switch-body-align, center)',\n justifyContent: 'var(--switch-body-justify, flex-start)',\n gap: 'var(--switch-body-gap, {spacing.200})',\n ':is([data-label-position=\"left\"]) &': {\n flexDirection: 'row-reverse',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAa,EAAa,CACrC,UAAW,eACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,QAAS,OACT,cAAe,MACf,WAAY,mCACZ,eAAgB,yCAChB,IAAK,wCACL,sCAAuC,CACrC,cAAe,cAChB,CACF,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__input`,jsx:[`Switch`],base:{position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`,pointerEvents:`none`}});export{t as switchInput};
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__input`,jsx:[`Switch`],base:{srOnly:!0}});export{t as switchInput};
2
2
  //# sourceMappingURL=switch-input.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch-input.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-input.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchInput = defineRecipe({\n className: 'switch__input',\n jsx: ['Switch'],\n base: {\n position: 'absolute',\n width: '1px',\n height: '1px',\n padding: '0',\n margin: '-1px',\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n borderWidth: '0',\n pointerEvents: 'none',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,gBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,SAAU,WACV,MAAO,MACP,OAAQ,MACR,QAAS,IACT,OAAQ,OACR,SAAU,SACV,KAAM,mBACN,WAAY,SACZ,YAAa,IACb,cAAe,OAChB,CACF,CAAC"}
1
+ {"version":3,"file":"switch-input.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-input.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchInput = defineRecipe({\n className: 'switch__input',\n jsx: ['Switch'],\n base: {\n srOnly: true,\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,gBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,OAAQ,GACT,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{checkboxLabelRequired as e}from"../checkbox/checkbox-label-required.mjs";const t=e.merge({className:`switch__label__required`,jsx:[`Switch`],base:{}});export{t as switchLabelRequired};
1
+ import{checkboxLabelRequired as e}from"../checkbox/checkbox-label-required.mjs";const t=e.merge({className:`switch__label__required`,jsx:[`Switch`],base:{marginLeft:`var(--switch-label-required-margin-left, {spacing.50})`}});export{t as switchLabelRequired};
2
2
  //# sourceMappingURL=switch-label-required.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch-label-required.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-label-required.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { checkboxLabelRequired } from '../checkbox/checkbox-label-required';\n\nexport const switchLabelRequired = checkboxLabelRequired.merge({\n className: 'switch__label__required',\n jsx: ['Switch'],\n base: {},\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"gFAOA,MAAa,EAAsB,EAAsB,MAAM,CAC7D,UAAW,0BACX,IAAK,CAAC,SAAS,CACf,KAAM,EAAE,CACT,CAAC"}
1
+ {"version":3,"file":"switch-label-required.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-label-required.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { checkboxLabelRequired } from '../checkbox/checkbox-label-required';\n\nexport const switchLabelRequired = checkboxLabelRequired.merge({\n className: 'switch__label__required',\n jsx: ['Switch'],\n base: {\n marginLeft: 'var(--switch-label-required-margin-left, {spacing.50})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"gFAOA,MAAa,EAAsB,EAAsB,MAAM,CAC7D,UAAW,0BACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,WAAY,yDACb,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__thumb`,jsx:[`Switch`],base:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`absolute`,zIndex:`1`,borderRadius:`var(--switch-thumb-radii, {radii.900})`,width:`var(--switch-thumb-size, {sizes.200})`,height:`var(--switch-thumb-size, {sizes.200})`,backgroundColor:`var(--switch-thumb-background, {colors.neutral.stroke.1.onPrimary.selected})`,borderWidth:`{borders.100}`,borderStyle:`solid`,borderColor:`var(--switch-thumb-border-color, transparent)`,insetInlineStart:`var(--switch-thumb-offset, {spacing.50})`,transition:`var(--switch-transition, {animations.base.100})`,".peer:checked ~ * &":{insetInlineStart:`calc(100% - var(--switch-thumb-size) - var(--switch-thumb-offset))`}}});export{t as switchThumb};
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__thumb`,jsx:[`Switch`],base:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`absolute`,zIndex:`1`,borderRadius:`var(--switch-thumb-radii, {radii.900})`,width:`var(--switch-thumb-size, {sizes.200})`,height:`var(--switch-thumb-size, {sizes.200})`,backgroundColor:`var(--switch-thumb-background, {colors.neutral.stroke.1.onPrimary.selected})`,borderWidth:`{borders.100}`,borderStyle:`solid`,borderColor:`var(--switch-thumb-border-color, transparent)`,insetInlineStart:`var(--switch-thumb-offset, {spacing.50})`,transition:`var(--switch-transition, {animations.base.100})`,boxShadow:`var(--switch-thumb-shadow, 0 1px 2px 0 rgba(0, 0, 0, .15))`,".peer:checked ~ * &":{insetInlineStart:`calc(100% - var(--switch-thumb-size) - var(--switch-thumb-offset))`}}});export{t as switchThumb};
2
2
  //# sourceMappingURL=switch-thumb.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch-thumb.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-thumb.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchThumb = defineRecipe({\n className: 'switch__thumb',\n jsx: ['Switch'],\n base: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'absolute',\n zIndex: '1',\n borderRadius: 'var(--switch-thumb-radii, {radii.900})',\n width: 'var(--switch-thumb-size, {sizes.200})',\n height: 'var(--switch-thumb-size, {sizes.200})',\n backgroundColor:\n 'var(--switch-thumb-background, {colors.neutral.stroke.1.onPrimary.selected})',\n borderWidth: '{borders.100}',\n borderStyle: 'solid',\n borderColor: 'var(--switch-thumb-border-color, transparent)',\n insetInlineStart: 'var(--switch-thumb-offset, {spacing.50})',\n transition: 'var(--switch-transition, {animations.base.100})',\n '.peer:checked ~ * &': {\n insetInlineStart:\n 'calc(100% - var(--switch-thumb-size) - var(--switch-thumb-offset))',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,gBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,SAAU,WACV,OAAQ,IACR,aAAc,yCACd,MAAO,wCACP,OAAQ,wCACR,gBACE,+EACF,YAAa,gBACb,YAAa,QACb,YAAa,gDACb,iBAAkB,2CAClB,WAAY,kDACZ,sBAAuB,CACrB,iBACE,qEACH,CACF,CACF,CAAC"}
1
+ {"version":3,"file":"switch-thumb.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-thumb.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchThumb = defineRecipe({\n className: 'switch__thumb',\n jsx: ['Switch'],\n base: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'absolute',\n zIndex: '1',\n borderRadius: 'var(--switch-thumb-radii, {radii.900})',\n width: 'var(--switch-thumb-size, {sizes.200})',\n height: 'var(--switch-thumb-size, {sizes.200})',\n backgroundColor:\n 'var(--switch-thumb-background, {colors.neutral.stroke.1.onPrimary.selected})',\n borderWidth: '{borders.100}',\n borderStyle: 'solid',\n borderColor: 'var(--switch-thumb-border-color, transparent)',\n insetInlineStart: 'var(--switch-thumb-offset, {spacing.50})',\n transition: 'var(--switch-transition, {animations.base.100})',\n boxShadow: 'var(--switch-thumb-shadow, 0 1px 2px 0 rgba(0, 0, 0, .15))',\n\n '.peer:checked ~ * &': {\n insetInlineStart:\n 'calc(100% - var(--switch-thumb-size) - var(--switch-thumb-offset))',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,gBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,SAAU,WACV,OAAQ,IACR,aAAc,yCACd,MAAO,wCACP,OAAQ,wCACR,gBACE,+EACF,YAAa,gBACb,YAAa,QACb,YAAa,gDACb,iBAAkB,2CAClB,WAAY,kDACZ,UAAW,6DAEX,sBAAuB,CACrB,iBACE,qEACH,CACF,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__track`,jsx:[`Switch`],base:{display:`inline-flex`,alignItems:`center`,flexShrink:`0`,position:`relative`,overflow:`hidden`,width:`var(--switch-track-width, {sizes.600})`,height:`var(--switch-track-height, {sizes.300})`,borderRadius:`var(--switch-track-radii, {radii.900})`,backgroundColor:`var(--switch-track-background, {colors.neutral.background.5.enabled})`,borderWidth:`var(--switch-track-border-width, {borders.100})`,borderStyle:`var(--switch-track-border-style, solid)`,borderColor:`var(--switch-track-border-color, transparent)`,cursor:`pointer`,transition:`var(--switch-transition, {animations.base.100})`,WebkitTapHighlightColor:`transparent`,_peerChecked:{backgroundColor:`var(--switch-track-background-checked, {colors.neutral.background.5.primary.selected})`,borderColor:`var(--switch-track-border-color-checked, transparent)`},_peerDisabled:{cursor:`not-allowed`,opacity:`var(--switch-track-opacity-disabled, .5)`},_peerFocusVisible:{outlineWidth:`var(--switch-track-focus-outline-width, {borders.100})`,outlineStyle:`var(--switch-track-focus-outline-style, solid)`,outlineColor:`var(--switch-track-focus-outline-color, {colors.primary.stroke.1.focused})`,outlineOffset:`var(--switch-track-focus-outline-offset, {spacing.50})`,boxShadow:`var(--switch-track-focus-shadow, none)`},"&:is([data-error])":{borderColor:`var(--switch-track-border-color-error, {colors.danger.stroke.1.enabled})`,_peerFocusVisible:{outlineColor:`var(--switch-track-focus-outline-color-error, {colors.danger.stroke.1.focused})`}}}});export{t as switchTrack};
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch__track`,jsx:[`Switch`],base:{display:`inline-flex`,alignItems:`center`,flexShrink:`0`,position:`relative`,overflow:`hidden`,width:`var(--switch-track-width, {sizes.600})`,height:`var(--switch-track-height, {sizes.300})`,borderRadius:`var(--switch-track-radii, {radii.900})`,backgroundColor:`var(--switch-track-background, {colors.neutral.background.5.enabled})`,borderWidth:`var(--switch-track-border-width, {borders.100})`,borderStyle:`var(--switch-track-border-style, solid)`,borderColor:`var(--switch-track-border-color, transparent)`,cursor:`pointer`,transition:`var(--switch-transition, {animations.base.100})`,WebkitTapHighlightColor:`transparent`,_peerChecked:{backgroundColor:`var(--switch-track-background-checked, {colors.neutral.background.5.primary.selected})`,borderColor:`var(--switch-track-border-color-checked, transparent)`},'.peer[data-checked="false"] ~ &':{backgroundColor:`var(--switch-track-background, {colors.neutral.background.5.enabled})`,borderColor:`var(--switch-track-border-color, transparent)`},_peerDisabled:{cursor:`not-allowed`,opacity:`var(--switch-track-opacity-disabled, .5)`},_peerFocusVisible:{outlineWidth:`var(--switch-track-focus-outline-width, {borders.100})`,outlineStyle:`var(--switch-track-focus-outline-style, solid)`,outlineColor:`var(--switch-track-focus-outline-color, {colors.primary.stroke.1.focused})`,outlineOffset:`var(--switch-track-focus-outline-offset, {spacing.50})`,boxShadow:`var(--switch-track-focus-shadow, none)`},"&:is([data-error])":{borderColor:`var(--switch-track-border-color-error, {colors.danger.stroke.1.enabled})`,_peerFocusVisible:{outlineColor:`var(--switch-track-focus-outline-color-error, {colors.danger.stroke.1.focused})`}}}});export{t as switchTrack};
2
2
  //# sourceMappingURL=switch-track.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch-track.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-track.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { focus } from './../../shared/focus';\n\nexport const switchTrack = defineRecipe({\n className: 'switch__track',\n jsx: ['Switch'],\n base: {\n display: 'inline-flex',\n alignItems: 'center',\n flexShrink: '0',\n position: 'relative',\n overflow: 'hidden',\n width: 'var(--switch-track-width, {sizes.600})',\n height: 'var(--switch-track-height, {sizes.300})',\n borderRadius: 'var(--switch-track-radii, {radii.900})',\n backgroundColor:\n 'var(--switch-track-background, {colors.neutral.background.5.enabled})',\n borderWidth: 'var(--switch-track-border-width, {borders.100})',\n borderStyle: 'var(--switch-track-border-style, solid)',\n borderColor: 'var(--switch-track-border-color, transparent)',\n cursor: 'pointer',\n transition: 'var(--switch-transition, {animations.base.100})',\n WebkitTapHighlightColor: 'transparent',\n _peerChecked: {\n backgroundColor:\n 'var(--switch-track-background-checked, {colors.neutral.background.5.primary.selected})',\n borderColor: 'var(--switch-track-border-color-checked, transparent)',\n },\n _peerDisabled: {\n cursor: 'not-allowed',\n opacity: 'var(--switch-track-opacity-disabled, .5)',\n },\n _peerFocusVisible: {\n outlineWidth: 'var(--switch-track-focus-outline-width, {borders.100})',\n outlineStyle: 'var(--switch-track-focus-outline-style, solid)',\n outlineColor:\n 'var(--switch-track-focus-outline-color, {colors.primary.stroke.1.focused})',\n outlineOffset: 'var(--switch-track-focus-outline-offset, {spacing.50})',\n boxShadow: 'var(--switch-track-focus-shadow, none)',\n },\n '&:is([data-error])': {\n borderColor:\n 'var(--switch-track-border-color-error, {colors.danger.stroke.1.enabled})',\n _peerFocusVisible: {\n outlineColor:\n 'var(--switch-track-focus-outline-color-error, {colors.danger.stroke.1.focused})',\n },\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAQA,MAAa,EAAc,EAAa,CACtC,UAAW,gBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,WAAY,IACZ,SAAU,WACV,SAAU,SACV,MAAO,yCACP,OAAQ,0CACR,aAAc,yCACd,gBACE,wEACF,YAAa,kDACb,YAAa,0CACb,YAAa,gDACb,OAAQ,UACR,WAAY,kDACZ,wBAAyB,cACzB,aAAc,CACZ,gBACE,yFACF,YAAa,wDACd,CACD,cAAe,CACb,OAAQ,cACR,QAAS,2CACV,CACD,kBAAmB,CACjB,aAAc,yDACd,aAAc,iDACd,aACE,6EACF,cAAe,yDACf,UAAW,yCACZ,CACD,qBAAsB,CACpB,YACE,2EACF,kBAAmB,CACjB,aACE,kFACH,CACF,CACF,CACF,CAAC"}
1
+ {"version":3,"file":"switch-track.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch-track.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchTrack = defineRecipe({\n className: 'switch__track',\n jsx: ['Switch'],\n base: {\n display: 'inline-flex',\n alignItems: 'center',\n flexShrink: '0',\n position: 'relative',\n overflow: 'hidden',\n width: 'var(--switch-track-width, {sizes.600})',\n height: 'var(--switch-track-height, {sizes.300})',\n borderRadius: 'var(--switch-track-radii, {radii.900})',\n backgroundColor:\n 'var(--switch-track-background, {colors.neutral.background.5.enabled})',\n borderWidth: 'var(--switch-track-border-width, {borders.100})',\n borderStyle: 'var(--switch-track-border-style, solid)',\n borderColor: 'var(--switch-track-border-color, transparent)',\n cursor: 'pointer',\n transition: 'var(--switch-transition, {animations.base.100})',\n WebkitTapHighlightColor: 'transparent',\n _peerChecked: {\n backgroundColor:\n 'var(--switch-track-background-checked, {colors.neutral.background.5.primary.selected})',\n borderColor: 'var(--switch-track-border-color-checked, transparent)',\n },\n '.peer[data-checked=\"false\"] ~ &': {\n backgroundColor:\n 'var(--switch-track-background, {colors.neutral.background.5.enabled})',\n borderColor: 'var(--switch-track-border-color, transparent)',\n },\n _peerDisabled: {\n cursor: 'not-allowed',\n opacity: 'var(--switch-track-opacity-disabled, .5)',\n },\n _peerFocusVisible: {\n outlineWidth: 'var(--switch-track-focus-outline-width, {borders.100})',\n outlineStyle: 'var(--switch-track-focus-outline-style, solid)',\n outlineColor:\n 'var(--switch-track-focus-outline-color, {colors.primary.stroke.1.focused})',\n outlineOffset: 'var(--switch-track-focus-outline-offset, {spacing.50})',\n boxShadow: 'var(--switch-track-focus-shadow, none)',\n },\n '&:is([data-error])': {\n borderColor:\n 'var(--switch-track-border-color-error, {colors.danger.stroke.1.enabled})',\n _peerFocusVisible: {\n outlineColor:\n 'var(--switch-track-focus-outline-color-error, {colors.danger.stroke.1.focused})',\n },\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,gBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,WAAY,IACZ,SAAU,WACV,SAAU,SACV,MAAO,yCACP,OAAQ,0CACR,aAAc,yCACd,gBACE,wEACF,YAAa,kDACb,YAAa,0CACb,YAAa,gDACb,OAAQ,UACR,WAAY,kDACZ,wBAAyB,cACzB,aAAc,CACZ,gBACE,yFACF,YAAa,wDACd,CACD,kCAAmC,CACjC,gBACE,wEACF,YAAa,gDACd,CACD,cAAe,CACb,OAAQ,cACR,QAAS,2CACV,CACD,kBAAmB,CACjB,aAAc,yDACd,aAAc,iDACd,aACE,6EACF,cAAe,yDACf,UAAW,yCACZ,CACD,qBAAsB,CACpB,YACE,2EACF,kBAAmB,CACjB,aACE,kFACH,CACF,CACF,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switchRecipe`,jsx:[`Switch`],base:{"--switch-track-width":`{sizes.600}`,"--switch-track-height":`{sizes.300}`,"--switch-track-radii":`{radii.900}`,"--switch-track-background":`{colors.neutral.background.5.enabled}`,"--switch-track-border-width":`{borders.100}`,"--switch-track-border-style":`solid`,"--switch-track-border-color":`transparent`,"--switch-track-background-checked":`{colors.neutral.background.5.primary.selected}`,"--switch-track-border-color-checked":`transparent`,"--switch-track-opacity-disabled":`.5`,"--switch-track-focus-outline-width":`{borders.100}`,"--switch-track-focus-outline-style":`solid`,"--switch-track-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--switch-track-focus-outline-offset":`{spacing.50}`,"--switch-track-focus-shadow":`none`,"--switch-track-border-color-error":`{colors.danger.stroke.1.enabled}`,"--switch-track-focus-outline-color-error":`{colors.danger.stroke.1.focused}`,"--switch-thumb-radii":`{radii.900}`,"--switch-thumb-size":`{sizes.200}`,"--switch-thumb-offset":`{spacing.50}`,"--switch-thumb-background":`{colors.neutral.stroke.1.onPrimary.selected}`,"--switch-thumb-border-color":`transparent`,"--checkbox-label-wrapper-gap":`var(--switch-label-wrapper-gap, {spacing.100})`,"--checkbox-label-font-family":`var(--switch-label-font-family, {fonts.base})`,"--checkbox-label-font-size":`var(--switch-label-font-size, {fontSizes.300})`,"--checkbox-label-font-weight":`var(--switch-label-font-weight, {fontWeights.regular})`,"--checkbox-label-line-height":`var(--switch-label-line-height, 1.4)`,"--checkbox-label-foreground":`var(--switch-label-foreground, {colors.neutral.foreground.2.enabled})`,"--checkbox-label-margin":`var(--switch-label-margin, 0)`,"--checkbox-label-opacity-disabled":`var(--switch-label-opacity-disabled, .5)`,"--checkbox-label-required-color":`var(--switch-label-required-color, {colors.danger.foreground.1.enabled})`,"--checkbox-description-font-family":`var(--switch-description-font-family, {fonts.base})`,"--checkbox-description-font-size":`var(--switch-description-font-size, {fontSizes.300})`,"--checkbox-description-font-weight":`var(--switch-description-font-weight, {fontWeights.regular})`,"--checkbox-description-line-height":`var(--switch-description-line-height, 1.2)`,"--checkbox-description-foreground":`var(--switch-description-foreground, {colors.neutral.foreground.2.enabled})`,"--checkbox-description-margin":`var(--switch-description-margin, 0)`,"--switch-body-align":`flex-start`,"--switch-body-gap":`{spacing.200}`,"--switch-transition":`{animations.base.100}`}});export{t as switchRecipe};
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switchRecipe`,jsx:[`Switch`],base:{"--switch-track-width":`{sizes.600}`,"--switch-track-height":`{sizes.300}`,"--switch-track-radii":`{radii.900}`,"--switch-track-background":`{colors.neutral.background.5.enabled}`,"--switch-track-border-width":`{borders.100}`,"--switch-track-border-style":`solid`,"--switch-track-border-color":`transparent`,"--switch-track-background-checked":`{colors.neutral.background.5.primary.selected}`,"--switch-track-border-color-checked":`transparent`,"--switch-track-opacity-disabled":`.5`,"--switch-track-focus-outline-width":`{borders.100}`,"--switch-track-focus-outline-style":`solid`,"--switch-track-focus-outline-color":`{colors.primary.stroke.1.focused}`,"--switch-track-focus-outline-offset":`{spacing.50}`,"--switch-track-focus-shadow":`none`,"--switch-track-border-color-error":`{colors.danger.stroke.1.enabled}`,"--switch-track-focus-outline-color-error":`{colors.danger.stroke.1.focused}`,"--switch-thumb-radii":`{radii.900}`,"--switch-thumb-size":`{sizes.200}`,"--switch-thumb-offset":`{spacing.50}`,"--switch-thumb-background":`{colors.neutral.stroke.1.onPrimary.selected}`,"--switch-thumb-border-color":`transparent`,"--switch-thumb-shadow":`0 1px 2px 0 rgba(0, 0, 0, .15)`,"--checkbox-label-wrapper-gap":`var(--switch-label-wrapper-gap, {spacing.100})`,"--checkbox-label-font-family":`var(--switch-label-font-family, {fonts.base})`,"--checkbox-label-font-size":`var(--switch-label-font-size, {fontSizes.300})`,"--checkbox-label-font-weight":`var(--switch-label-font-weight, {fontWeights.regular})`,"--checkbox-label-line-height":`var(--switch-label-line-height, 1.4)`,"--checkbox-label-foreground":`var(--switch-label-foreground, {colors.neutral.foreground.2.enabled})`,"--checkbox-label-margin":`var(--switch-label-margin, 0)`,"--checkbox-label-opacity-disabled":`var(--switch-label-opacity-disabled, .5)`,"--checkbox-label-required-color":`var(--switch-label-required-color, {colors.neutral.foreground.3.enabled})`,"--switch-label-required-margin-left":`{spacing.50}`,"--checkbox-description-font-family":`var(--switch-description-font-family, {fonts.base})`,"--checkbox-description-font-size":`var(--switch-description-font-size, {fontSizes.300})`,"--checkbox-description-font-weight":`var(--switch-description-font-weight, {fontWeights.regular})`,"--checkbox-description-line-height":`var(--switch-description-line-height, 1.2)`,"--checkbox-description-foreground":`var(--switch-description-foreground, {colors.neutral.foreground.2.enabled})`,"--checkbox-description-margin":`var(--switch-description-margin, 0)`,"--switch-body-align":`flex-start`,"--switch-body-gap":`{spacing.200}`,"--switch-body-justify":`flex-start`,"--switch-transition":`{animations.base.100}`}});export{t as switchRecipe};
2
2
  //# sourceMappingURL=switch.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchRecipe = defineRecipe({\n className: 'switchRecipe',\n jsx: ['Switch'],\n base: {\n // switch track enabled\n '--switch-track-width': '{sizes.600}',\n '--switch-track-height': '{sizes.300}',\n '--switch-track-radii': '{radii.900}',\n '--switch-track-background': '{colors.neutral.background.5.enabled}',\n '--switch-track-border-width': '{borders.100}',\n '--switch-track-border-style': 'solid',\n '--switch-track-border-color': 'transparent',\n // switch track checked\n '--switch-track-background-checked':\n '{colors.neutral.background.5.primary.selected}',\n '--switch-track-border-color-checked': 'transparent',\n // switch track disabled\n '--switch-track-opacity-disabled': '.5',\n // switch track focus\n '--switch-track-focus-outline-width': '{borders.100}',\n '--switch-track-focus-outline-style': 'solid',\n '--switch-track-focus-outline-color': '{colors.primary.stroke.1.focused}',\n '--switch-track-focus-outline-offset': '{spacing.50}',\n '--switch-track-focus-shadow': 'none',\n // switch track error\n '--switch-track-border-color-error': '{colors.danger.stroke.1.enabled}',\n '--switch-track-focus-outline-color-error':\n '{colors.danger.stroke.1.focused}',\n\n // switch thumb\n '--switch-thumb-radii': '{radii.900}',\n '--switch-thumb-size': '{sizes.200}',\n '--switch-thumb-offset': '{spacing.50}',\n '--switch-thumb-background': '{colors.neutral.stroke.1.onPrimary.selected}',\n '--switch-thumb-border-color': 'transparent',\n\n // switch label wrapper\n '--checkbox-label-wrapper-gap':\n 'var(--switch-label-wrapper-gap, {spacing.100})',\n\n // switch label\n '--checkbox-label-font-family':\n 'var(--switch-label-font-family, {fonts.base})',\n '--checkbox-label-font-size':\n 'var(--switch-label-font-size, {fontSizes.300})',\n '--checkbox-label-font-weight':\n 'var(--switch-label-font-weight, {fontWeights.regular})',\n '--checkbox-label-line-height': 'var(--switch-label-line-height, 1.4)',\n '--checkbox-label-foreground':\n 'var(--switch-label-foreground, {colors.neutral.foreground.2.enabled})',\n '--checkbox-label-margin': 'var(--switch-label-margin, 0)',\n '--checkbox-label-opacity-disabled':\n 'var(--switch-label-opacity-disabled, .5)',\n\n // switch label required\n '--checkbox-label-required-color':\n 'var(--switch-label-required-color, {colors.danger.foreground.1.enabled})',\n\n // switch description\n '--checkbox-description-font-family':\n 'var(--switch-description-font-family, {fonts.base})',\n '--checkbox-description-font-size':\n 'var(--switch-description-font-size, {fontSizes.300})',\n '--checkbox-description-font-weight':\n 'var(--switch-description-font-weight, {fontWeights.regular})',\n '--checkbox-description-line-height':\n 'var(--switch-description-line-height, 1.2)',\n '--checkbox-description-foreground':\n 'var(--switch-description-foreground, {colors.neutral.foreground.2.enabled})',\n '--checkbox-description-margin': 'var(--switch-description-margin, 0)',\n\n // switch body\n '--switch-body-align': 'flex-start',\n '--switch-body-gap': '{spacing.200}',\n\n // switch transition\n '--switch-transition': '{animations.base.100}',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,eACX,IAAK,CAAC,SAAS,CACf,KAAM,CAEJ,uBAAwB,cACxB,wBAAyB,cACzB,uBAAwB,cACxB,4BAA6B,wCAC7B,8BAA+B,gBAC/B,8BAA+B,QAC/B,8BAA+B,cAE/B,oCACE,iDACF,sCAAuC,cAEvC,kCAAmC,KAEnC,qCAAsC,gBACtC,qCAAsC,QACtC,qCAAsC,oCACtC,sCAAuC,eACvC,8BAA+B,OAE/B,oCAAqC,mCACrC,2CACE,mCAGF,uBAAwB,cACxB,sBAAuB,cACvB,wBAAyB,eACzB,4BAA6B,+CAC7B,8BAA+B,cAG/B,+BACE,iDAGF,+BACE,gDACF,6BACE,iDACF,+BACE,yDACF,+BAAgC,uCAChC,8BACE,wEACF,0BAA2B,gCAC3B,oCACE,2CAGF,kCACE,2EAGF,qCACE,sDACF,mCACE,uDACF,qCACE,+DACF,qCACE,6CACF,oCACE,8EACF,gCAAiC,sCAGjC,sBAAuB,aACvB,oBAAqB,gBAGrB,sBAAuB,wBACxB,CACF,CAAC"}
1
+ {"version":3,"file":"switch.mjs","names":[],"sources":["../../../../src/recipes/controls/switch/switch.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchRecipe = defineRecipe({\n className: 'switchRecipe',\n jsx: ['Switch'],\n base: {\n // switch track enabled\n '--switch-track-width': '{sizes.600}',\n '--switch-track-height': '{sizes.300}',\n '--switch-track-radii': '{radii.900}',\n '--switch-track-background': '{colors.neutral.background.5.enabled}',\n '--switch-track-border-width': '{borders.100}',\n '--switch-track-border-style': 'solid',\n '--switch-track-border-color': 'transparent',\n // switch track checked\n '--switch-track-background-checked':\n '{colors.neutral.background.5.primary.selected}',\n '--switch-track-border-color-checked': 'transparent',\n // switch track disabled\n '--switch-track-opacity-disabled': '.5',\n // switch track focus\n '--switch-track-focus-outline-width': '{borders.100}',\n '--switch-track-focus-outline-style': 'solid',\n '--switch-track-focus-outline-color': '{colors.primary.stroke.1.focused}',\n '--switch-track-focus-outline-offset': '{spacing.50}',\n '--switch-track-focus-shadow': 'none',\n // switch track error\n '--switch-track-border-color-error': '{colors.danger.stroke.1.enabled}',\n '--switch-track-focus-outline-color-error':\n '{colors.danger.stroke.1.focused}',\n\n // switch thumb\n '--switch-thumb-radii': '{radii.900}',\n '--switch-thumb-size': '{sizes.200}',\n '--switch-thumb-offset': '{spacing.50}',\n '--switch-thumb-background': '{colors.neutral.stroke.1.onPrimary.selected}',\n '--switch-thumb-border-color': 'transparent',\n '--switch-thumb-shadow': '0 1px 2px 0 rgba(0, 0, 0, .15)',\n\n // switch label wrapper\n '--checkbox-label-wrapper-gap':\n 'var(--switch-label-wrapper-gap, {spacing.100})',\n\n // switch label\n '--checkbox-label-font-family':\n 'var(--switch-label-font-family, {fonts.base})',\n '--checkbox-label-font-size':\n 'var(--switch-label-font-size, {fontSizes.300})',\n '--checkbox-label-font-weight':\n 'var(--switch-label-font-weight, {fontWeights.regular})',\n '--checkbox-label-line-height': 'var(--switch-label-line-height, 1.4)',\n '--checkbox-label-foreground':\n 'var(--switch-label-foreground, {colors.neutral.foreground.2.enabled})',\n '--checkbox-label-margin': 'var(--switch-label-margin, 0)',\n '--checkbox-label-opacity-disabled':\n 'var(--switch-label-opacity-disabled, .5)',\n\n // switch label required\n '--checkbox-label-required-color':\n 'var(--switch-label-required-color, {colors.neutral.foreground.3.enabled})',\n '--switch-label-required-margin-left': '{spacing.50}',\n\n // switch description\n '--checkbox-description-font-family':\n 'var(--switch-description-font-family, {fonts.base})',\n '--checkbox-description-font-size':\n 'var(--switch-description-font-size, {fontSizes.300})',\n '--checkbox-description-font-weight':\n 'var(--switch-description-font-weight, {fontWeights.regular})',\n '--checkbox-description-line-height':\n 'var(--switch-description-line-height, 1.2)',\n '--checkbox-description-foreground':\n 'var(--switch-description-foreground, {colors.neutral.foreground.2.enabled})',\n '--checkbox-description-margin': 'var(--switch-description-margin, 0)',\n\n // switch body\n '--switch-body-align': 'flex-start',\n '--switch-body-gap': '{spacing.200}',\n '--switch-body-justify': 'flex-start',\n\n // switch transition\n '--switch-transition': '{animations.base.100}',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,eACX,IAAK,CAAC,SAAS,CACf,KAAM,CAEJ,uBAAwB,cACxB,wBAAyB,cACzB,uBAAwB,cACxB,4BAA6B,wCAC7B,8BAA+B,gBAC/B,8BAA+B,QAC/B,8BAA+B,cAE/B,oCACE,iDACF,sCAAuC,cAEvC,kCAAmC,KAEnC,qCAAsC,gBACtC,qCAAsC,QACtC,qCAAsC,oCACtC,sCAAuC,eACvC,8BAA+B,OAE/B,oCAAqC,mCACrC,2CACE,mCAGF,uBAAwB,cACxB,sBAAuB,cACvB,wBAAyB,eACzB,4BAA6B,+CAC7B,8BAA+B,cAC/B,wBAAyB,iCAGzB,+BACE,iDAGF,+BACE,gDACF,6BACE,iDACF,+BACE,yDACF,+BAAgC,uCAChC,8BACE,wEACF,0BAA2B,gCAC3B,oCACE,2CAGF,kCACE,4EACF,sCAAuC,eAGvC,qCACE,sDACF,mCACE,uDACF,qCACE,+DACF,qCACE,6CACF,oCACE,8EACF,gCAAiC,sCAGjC,sBAAuB,aACvB,oBAAqB,gBACrB,wBAAyB,aAGzB,sBAAuB,wBACxB,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{switchGroup as e}from"./switch-group.mjs";import{switchGroupDescription as t}from"./switch-group-description.mjs";import{switchGroupError as n}from"./switch-group-error.mjs";import{switchGroupGroup as r}from"./switch-group-group.mjs";import{switchGroupLabel as i}from"./switch-group-label.mjs";import{switchGroupRequired as a}from"./switch-group-required.mjs";import{switchGroupRoot as o}from"./switch-group-root.mjs";var s={switchGroup:e,switchGroupRoot:o,switchGroupLabel:i,switchGroupDescription:t,switchGroupError:n,switchGroupRequired:a,switchGroupGroup:r};export{s as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/index.ts"],"sourcesContent":["import { switchGroup } from './switch-group';\nimport { switchGroupDescription } from './switch-group-description';\nimport { switchGroupError } from './switch-group-error';\nimport { switchGroupGroup } from './switch-group-group';\nimport { switchGroupLabel } from './switch-group-label';\nimport { switchGroupRequired } from './switch-group-required';\nimport { switchGroupRoot } from './switch-group-root';\n\nexport default {\n switchGroup,\n switchGroupRoot,\n switchGroupLabel,\n switchGroupDescription,\n switchGroupError,\n switchGroupRequired,\n switchGroupGroup,\n};\n"],"mappings":"yaAQA,IAAA,EAAe,CACb,cACA,kBACA,mBACA,yBACA,mBACA,sBACA,mBACD"}
@@ -0,0 +1,2 @@
1
+ import{textInputDescription as e}from"../text-input/text-input-description.mjs";const t=e.merge({className:`switch-group__description`,jsx:[`SwitchGroup`],base:{}});export{t as switchGroupDescription};
2
+ //# sourceMappingURL=switch-group-description.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-group-description.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/switch-group-description.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInputDescription } from '../text-input/text-input-description';\n\nexport const switchGroupDescription = textInputDescription.merge({\n className: 'switch-group__description',\n jsx: ['SwitchGroup'],\n base: {},\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"gFAOA,MAAa,EAAyB,EAAqB,MAAM,CAC/D,UAAW,4BACX,IAAK,CAAC,cAAc,CACpB,KAAM,EAAE,CACT,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{textInputError as e}from"../text-input/text-input-error.mjs";const t=e.merge({className:`switch-group__error`,jsx:[`SwitchGroup`],base:{}});export{t as switchGroupError};
2
+ //# sourceMappingURL=switch-group-error.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-group-error.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/switch-group-error.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInputError } from '../text-input/text-input-error';\n\nexport const switchGroupError = textInputError.merge({\n className: 'switch-group__error',\n jsx: ['SwitchGroup'],\n base: {},\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"oEAOA,MAAa,EAAmB,EAAe,MAAM,CACnD,UAAW,sBACX,IAAK,CAAC,cAAc,CACpB,KAAM,EAAE,CACT,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch-group__group`,jsx:[`Switch`],base:{display:`flex`,flexDirection:`var(--switch-group-group-direction, column)`,gap:`var(--switch-group-group-gap, {spacing.400})`,marginTop:`var(--switch-group-group-margin-top, {spacing.400})`}});export{t as switchGroupGroup};
2
+ //# sourceMappingURL=switch-group-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-group-group.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/switch-group-group.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchGroupGroup = defineRecipe({\n className: 'switch-group__group',\n jsx: ['Switch'],\n base: {\n display: 'flex',\n flexDirection: 'var(--switch-group-group-direction, column)',\n gap: 'var(--switch-group-group-gap, {spacing.400})',\n marginTop: 'var(--switch-group-group-margin-top, {spacing.400})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAmB,EAAa,CAC3C,UAAW,sBACX,IAAK,CAAC,SAAS,CACf,KAAM,CACJ,QAAS,OACT,cAAe,8CACf,IAAK,+CACL,UAAW,sDACZ,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{textInputLabel as e}from"../text-input/text-input-label.mjs";const t=e.merge({className:`switch-group__label`,jsx:[`SwitchGroup`],base:{}});export{t as switchGroupLabel};
2
+ //# sourceMappingURL=switch-group-label.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-group-label.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/switch-group-label.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInputLabel } from '../text-input/text-input-label';\n\nexport const switchGroupLabel = textInputLabel.merge({\n className: 'switch-group__label',\n jsx: ['SwitchGroup'],\n base: {},\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"oEAOA,MAAa,EAAmB,EAAe,MAAM,CACnD,UAAW,sBACX,IAAK,CAAC,cAAc,CACpB,KAAM,EAAE,CACT,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{textInputRequired as e}from"../text-input/text-input-required.mjs";const t=e.merge({className:`switch-group__required`,jsx:[`SwitchGroup`],base:{}});export{t as switchGroupRequired};
2
+ //# sourceMappingURL=switch-group-required.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-group-required.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/switch-group-required.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInputRequired } from '../text-input/text-input-required';\n\nexport const switchGroupRequired = textInputRequired.merge({\n className: 'switch-group__required',\n jsx: ['SwitchGroup'],\n base: {},\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"0EAOA,MAAa,EAAsB,EAAkB,MAAM,CACzD,UAAW,yBACX,IAAK,CAAC,cAAc,CACpB,KAAM,EAAE,CACT,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{textInputRoot as e}from"../text-input/text-input-root.mjs";const t=e.merge({className:`switch-group__root`,jsx:[`SwitchGroup`],base:{'& > [role="group"]':{order:`var(--switch-group-group-order, 3)`}}});export{t as switchGroupRoot};
2
+ //# sourceMappingURL=switch-group-root.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-group-root.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/switch-group-root.ts"],"sourcesContent":["import type {\n RecipeBuilder,\n RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nimport { textInputRoot } from '../text-input/text-input-root';\n\nexport const switchGroupRoot = textInputRoot.merge({\n className: 'switch-group__root',\n jsx: ['SwitchGroup'],\n base: {\n '& > [role=\"group\"]': {\n order: 'var(--switch-group-group-order, 3)',\n },\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"kEAOA,MAAa,EAAkB,EAAc,MAAM,CACjD,UAAW,qBACX,IAAK,CAAC,cAAc,CACpB,KAAM,CACJ,qBAAsB,CACpB,MAAO,qCACR,CACF,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`switch-group`,jsx:[`SwitchGroup`],base:{"--text-input-root-gap":`var(--switch-group-root-gap, {spacing.100})`,"--switch-group-group-direction":`column`,"--switch-group-group-gap":`{spacing.400}`,"--switch-group-group-margin-top":`{spacing.400}`,"--switch-group-group-order":`2`,"--text-input-label-order":`var(--switch-group-label-order, 0)`,"--text-input-label-font-family":`var(--switch-group-label-font-family, {fonts.base})`,"--text-input-label-font-size":`var(--switch-group-label-font-size, {fontSizes.300})`,"--text-input-label-font-weight":`var(--switch-group-label-font-weight, {fontWeights.medium})`,"--text-input-label-line-height":`var(--switch-group-label-line-height, inherit)`,"--text-input-label-foreground":`var(--switch-group-label-foreground, {colors.neutral.foreground.1.enabled})`,"--text-input-required-font-family":`var(--switch-group-required-font-family, {fonts.base})`,"--text-input-required-font-size":`var(--switch-group-required-font-size, {fontSizes.300})`,"--text-input-required-font-weight":`var(--switch-group-required-font-weight, {fontWeights.medium})`,"--text-input-required-color":`var(--switch-group-required-color, {colors.neutral.foreground.1.enabled})`,"--text-input-required-foreground-error":`var(--switch-group-required-foreground-error, {colors.danger.foreground.1.enabled})`,"--text-input-description-order":`var(--switch-group-description-order, 1)`,"--text-input-description-font-family":`var(--switch-group-description-font-family, {fonts.base})`,"--text-input-description-font-size":`var(--switch-group-description-font-size, {fontSizes.200})`,"--text-input-description-font-weight":`var(--switch-group-description-font-weight, {fontWeights.regular})`,"--text-input-description-line-height":`var(--switch-group-description-line-height, inherit)`,"--text-input-description-foreground":`var(--switch-group-description-foreground, {colors.neutral.foreground.2.enabled})`,"--text-input-error-order":`var(--switch-group-error-order, 3)`,"--text-input-error-font-family":`var(--switch-group-error-font-family, {fonts.base})`,"--text-input-error-font-size":`var(--switch-group-error-font-size, {fontSizes.200})`,"--text-input-error-font-weight":`var(--switch-group-error-font-weight, {fontWeights.regular})`,"--text-input-error-line-height":`var(--switch-group-error-line-height, inherit)`,"--text-input-error-foreground":`var(--switch-group-error-foreground, {colors.danger.foreground.1.enabled})`}});export{t as switchGroup};
2
+ //# sourceMappingURL=switch-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-group.mjs","names":[],"sources":["../../../../src/recipes/controls/switch-group/switch-group.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const switchGroup = defineRecipe({\n className: 'switch-group',\n jsx: ['SwitchGroup'],\n base: {\n // root\n '--text-input-root-gap': 'var(--switch-group-root-gap, {spacing.100})',\n\n // group\n '--switch-group-group-direction': 'column',\n '--switch-group-group-gap': '{spacing.400}',\n '--switch-group-group-margin-top': '{spacing.400}',\n '--switch-group-group-order': '2',\n\n // label\n '--text-input-label-order': 'var(--switch-group-label-order, 0)',\n '--text-input-label-font-family':\n 'var(--switch-group-label-font-family, {fonts.base})',\n '--text-input-label-font-size':\n 'var(--switch-group-label-font-size, {fontSizes.300})',\n '--text-input-label-font-weight':\n 'var(--switch-group-label-font-weight, {fontWeights.medium})',\n '--text-input-label-line-height':\n 'var(--switch-group-label-line-height, inherit)',\n '--text-input-label-foreground':\n 'var(--switch-group-label-foreground, {colors.neutral.foreground.1.enabled})',\n\n // required\n '--text-input-required-font-family':\n 'var(--switch-group-required-font-family, {fonts.base})',\n '--text-input-required-font-size':\n 'var(--switch-group-required-font-size, {fontSizes.300})',\n '--text-input-required-font-weight':\n 'var(--switch-group-required-font-weight, {fontWeights.medium})',\n '--text-input-required-color':\n 'var(--switch-group-required-color, {colors.neutral.foreground.1.enabled})',\n '--text-input-required-foreground-error':\n 'var(--switch-group-required-foreground-error, {colors.danger.foreground.1.enabled})',\n\n // description\n '--text-input-description-order':\n 'var(--switch-group-description-order, 1)',\n '--text-input-description-font-family':\n 'var(--switch-group-description-font-family, {fonts.base})',\n '--text-input-description-font-size':\n 'var(--switch-group-description-font-size, {fontSizes.200})',\n '--text-input-description-font-weight':\n 'var(--switch-group-description-font-weight, {fontWeights.regular})',\n '--text-input-description-line-height':\n 'var(--switch-group-description-line-height, inherit)',\n '--text-input-description-foreground':\n 'var(--switch-group-description-foreground, {colors.neutral.foreground.2.enabled})',\n\n // error\n '--text-input-error-order': 'var(--switch-group-error-order, 3)',\n '--text-input-error-font-family':\n 'var(--switch-group-error-font-family, {fonts.base})',\n '--text-input-error-font-size':\n 'var(--switch-group-error-font-size, {fontSizes.200})',\n '--text-input-error-font-weight':\n 'var(--switch-group-error-font-weight, {fontWeights.regular})',\n '--text-input-error-line-height':\n 'var(--switch-group-error-line-height, inherit)',\n '--text-input-error-foreground':\n 'var(--switch-group-error-foreground, {colors.danger.foreground.1.enabled})',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,eACX,IAAK,CAAC,cAAc,CACpB,KAAM,CAEJ,wBAAyB,8CAGzB,iCAAkC,SAClC,2BAA4B,gBAC5B,kCAAmC,gBACnC,6BAA8B,IAG9B,2BAA4B,qCAC5B,iCACE,sDACF,+BACE,uDACF,iCACE,8DACF,iCACE,iDACF,gCACE,8EAGF,oCACE,yDACF,kCACE,0DACF,oCACE,iEACF,8BACE,4EACF,yCACE,sFAGF,iCACE,2CACF,uCACE,4DACF,qCACE,6DACF,uCACE,qEACF,uCACE,uDACF,sCACE,oFAGF,2BAA4B,qCAC5B,iCACE,sDACF,+BACE,uDACF,iCACE,+DACF,iCACE,iDACF,gCACE,6EACH,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import{textInputDescription as e}from"./text-input-description.mjs";import{textInputError as t}from"./text-input-error.mjs";import{textInputInput as n}from"./text-input-input.mjs";import{textInputLabel as r}from"./text-input-label.mjs";import{textInputRequired as i}from"./text-input-required.mjs";import{textInputRoot as a}from"./text-input-root.mjs";import{textInputSection as o}from"./text-input-section.mjs";import{textInputWrapper as s}from"./text-input-wrapper.mjs";import{textInput as c}from"./text-input.mjs";var l={textInput:c,textInputInput:n,textInputLabel:r,textInputDescription:e,textInputError:t,textInputWrapper:s,textInputRequired:i,textInputSection:o,textInputRoot:a};export{l as default};
1
+ import{textInput as e}from"./text-input.mjs";import{textInputDescription as t}from"./text-input-description.mjs";import{textInputError as n}from"./text-input-error.mjs";import{textInputInput as r}from"./text-input-input.mjs";import{textInputLabel as i}from"./text-input-label.mjs";import{textInputRequired as a}from"./text-input-required.mjs";import{textInputRoot as o}from"./text-input-root.mjs";import{textInputSection as s}from"./text-input-section.mjs";import{textInputWrapper as c}from"./text-input-wrapper.mjs";var l={textInput:e,textInputInput:r,textInputLabel:i,textInputDescription:t,textInputError:n,textInputWrapper:c,textInputRequired:a,textInputSection:s,textInputRoot:o};export{l as default};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,2 @@
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`column-check`,jsx:[`DataTable`],base:{width:`var(--data-table-column-check-width, {sizes.700})`,textAlign:`var(--data-table-column-check-align, center)`}});export{t as columnCheck};
2
+ //# sourceMappingURL=column-check.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"column-check.mjs","names":[],"sources":["../../../../../src/recipes/data-display/data-table/custom-columns/column-check.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const columnCheck = defineRecipe({\n className: 'column-check',\n jsx: ['DataTable'],\n base: {\n width: 'var(--data-table-column-check-width, {sizes.700})',\n textAlign: 'var(--data-table-column-check-align, center)',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAc,EAAa,CACtC,UAAW,eACX,IAAK,CAAC,YAAY,CAClB,KAAM,CACJ,MAAO,oDACP,UAAW,+CACZ,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{defineRecipe as e}from"@pandabox/define-recipe";const t=e({className:`column-expand`,jsx:[`DataTable`],base:{width:`var(--data-table-column-expand-width, {sizes.700})`,textAlign:`var(--data-table-column-expand-align, center)`}});export{t as columnExpand};
2
+ //# sourceMappingURL=column-expand.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"column-expand.mjs","names":[],"sources":["../../../../../src/recipes/data-display/data-table/custom-columns/column-expand.ts"],"sourcesContent":["import {\n defineRecipe,\n type RecipeBuilder,\n type RecipeVariantRecord,\n} from '@pandabox/define-recipe';\n\nexport const columnExpand = defineRecipe({\n className: 'column-expand',\n jsx: ['DataTable'],\n base: {\n width: 'var(--data-table-column-expand-width, {sizes.700})',\n textAlign: 'var(--data-table-column-expand-align, center)',\n },\n}) as RecipeBuilder<RecipeVariantRecord>;\n"],"mappings":"uDAMA,MAAa,EAAe,EAAa,CACvC,UAAW,gBACX,IAAK,CAAC,YAAY,CAClB,KAAM,CACJ,MAAO,qDACP,UAAW,gDACZ,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{columnCheck as e}from"./column-check.mjs";import{columnExpand as t}from"./column-expand.mjs";var n={columnCheck:e,columnExpand:t};export{n as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../src/recipes/data-display/data-table/custom-columns/index.ts"],"sourcesContent":["import { columnCheck } from './column-check';\nimport { columnExpand } from './column-expand';\n\nexport default {\n columnCheck,\n columnExpand,\n};\n"],"mappings":"oGAGA,IAAA,EAAe,CACb,cACA,eACD"}
@@ -0,0 +1,2 @@
1
+ import{dataTableBulkBar as e}from"./data-table-bulk-bar.mjs";import{dataTableBulkBarActions as t}from"./data-table-bulk-bar-actions.mjs";import{dataTableBulkBarCount as n}from"./data-table-bulk-bar-count.mjs";import{dataTableBulkBarCountBadge as r}from"./data-table-bulk-bar-count-badge.mjs";import{dataTableBulkBarCountLabel as i}from"./data-table-bulk-bar-count-label.mjs";import{dataTableBulkBarDragHandle as a}from"./data-table-bulk-bar-drag-handle.mjs";import{dataTableBulkBarDragHandleIcon as o}from"./data-table-bulk-bar-drag-handle-icon.mjs";var s={dataTableBulkBar:e,dataTableBulkBarActions:t,dataTableBulkBarCount:n,dataTableBulkBarCountBadge:r,dataTableBulkBarCountLabel:i,dataTableBulkBarDragHandle:a,dataTableBulkBarDragHandleIcon:o};export{s as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../src/recipes/data-display/data-table/data-table-bulk-bar/index.ts"],"sourcesContent":["import { dataTableBulkBar } from './data-table-bulk-bar';\nimport { dataTableBulkBarActions } from './data-table-bulk-bar-actions';\nimport { dataTableBulkBarCount } from './data-table-bulk-bar-count';\nimport { dataTableBulkBarCountBadge } from './data-table-bulk-bar-count-badge';\nimport { dataTableBulkBarCountLabel } from './data-table-bulk-bar-count-label';\nimport { dataTableBulkBarDragHandle } from './data-table-bulk-bar-drag-handle';\nimport { dataTableBulkBarDragHandleIcon } from './data-table-bulk-bar-drag-handle-icon';\n\nexport default {\n dataTableBulkBar,\n dataTableBulkBarActions,\n dataTableBulkBarCount,\n dataTableBulkBarCountBadge,\n dataTableBulkBarCountLabel,\n dataTableBulkBarDragHandle,\n dataTableBulkBarDragHandleIcon,\n};\n"],"mappings":"siBAQA,IAAA,EAAe,CACb,mBACA,0BACA,wBACA,6BACA,6BACA,6BACA,iCACD"}
@@ -0,0 +1,2 @@
1
+ import{dataTablePageSize as e}from"./data-table-page-size.mjs";import{dataTablePageSizeInput as t}from"./data-table-page-size-input.mjs";var n={dataTablePageSize:e,dataTablePageSizeInput:t};export{n as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../src/recipes/data-display/data-table/data-table-page-size/index.ts"],"sourcesContent":["import { dataTablePageSize } from './data-table-page-size';\nimport { dataTablePageSizeInput } from './data-table-page-size-input';\n\nexport default {\n dataTablePageSize,\n dataTablePageSizeInput,\n};\n"],"mappings":"yIAGA,IAAA,EAAe,CACb,oBACA,yBACD"}
@@ -0,0 +1,2 @@
1
+ import{dataTableSortButton as e}from"./data-table-sort-button.mjs";import{dataTableSortButtonIndicator as t}from"./data-table-sort-button-indicator.mjs";var n={dataTableSortButton:e,dataTableSortButtonIndicator:t};export{n as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../src/recipes/data-display/data-table/data-table-sort-button/index.ts"],"sourcesContent":["import { dataTableSortButton } from './data-table-sort-button';\nimport { dataTableSortButtonIndicator } from './data-table-sort-button-indicator';\n\nexport default {\n dataTableSortButton,\n dataTableSortButtonIndicator,\n};\n"],"mappings":"yJAGA,IAAA,EAAe,CACb,sBACA,+BACD"}