@datum-cloud/datum-ui 0.8.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-context-NyGTDZYq.mjs → adapter-context-DemTWhel.mjs} +3 -3
- package/dist/alert/index.mjs +1 -1
- package/dist/{alert-BDj6od5I.mjs → alert-Cz56SqdN.mjs} +2 -2
- package/dist/app-navigation/index.mjs +2 -2
- package/dist/{app-navigation-rSOfo1KV.mjs → app-navigation-CG0A8Qjz.mjs} +12 -6
- package/dist/autocomplete/index.mjs +1 -1
- package/dist/{autocomplete-DdbTQe6u.mjs → autocomplete-ChuPNldi.mjs} +6 -6
- package/dist/autosearch/index.mjs +12 -12
- package/dist/avatar-stack/index.mjs +1 -1
- package/dist/{avatar-stack-CDhlA1Nm.mjs → avatar-stack-WqoQ3l06.mjs} +1 -1
- package/dist/{button-D3RrsMfQ.mjs → button-Rw1xI-k9.mjs} +2 -2
- package/dist/calendar/index.mjs +1 -1
- package/dist/calendar-D_DriVHT.mjs +77 -0
- package/dist/{calendar-C-Hbf74r.mjs → calendar-Dwvq3Vu_.mjs} +6 -6
- package/dist/calendar-date-picker-CchHKodM.mjs +52 -0
- package/dist/chart/index.mjs +1 -1
- package/dist/{chart-CUa21ynK.mjs → chart-DgcOwkOh.mjs} +5 -5
- package/dist/code-editor/index.mjs +1 -1
- package/dist/{col-DISdGlqY.mjs → col-Q6yazFwL.mjs} +2 -1
- package/dist/components/base/button/button.d.ts.map +1 -1
- package/dist/components/features/app-navigation/app-navigation.d.ts +5 -1
- package/dist/components/features/app-navigation/app-navigation.d.ts.map +1 -1
- package/dist/components/features/app-navigation/nav-menu.d.ts +4 -1
- package/dist/components/features/app-navigation/nav-menu.d.ts.map +1 -1
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +6 -5
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -1
- package/dist/components/features/calendar-date-picker/types.d.ts +19 -0
- package/dist/components/features/calendar-date-picker/types.d.ts.map +1 -1
- package/dist/components/features/code-editor/code-editor.d.ts +1 -1
- package/dist/components/features/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/features/code-editor/index.d.ts +1 -1
- package/dist/components/features/code-editor/index.d.ts.map +1 -1
- package/dist/components/features/code-editor/types.d.ts +25 -2
- package/dist/components/features/code-editor/types.d.ts.map +1 -1
- package/dist/components/features/data-table/core/client-provider.d.ts.map +1 -1
- package/dist/components/features/date-time-picker/date-time-picker.d.ts +12 -4
- package/dist/components/features/date-time-picker/date-time-picker.d.ts.map +1 -1
- package/dist/components/features/date-time-picker/types.d.ts +9 -0
- package/dist/components/features/date-time-picker/types.d.ts.map +1 -1
- package/dist/components/features/grid/components/col.d.ts +1 -1
- package/dist/components/features/grid/components/col.d.ts.map +1 -1
- package/dist/components/features/grid/components/row.d.ts +1 -1
- package/dist/components/features/grid/components/row.d.ts.map +1 -1
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/logo/index.d.ts +7 -0
- package/dist/components/features/logo/index.d.ts.map +1 -0
- package/dist/components/features/logo/logo-flat.d.ts +28 -0
- package/dist/components/features/logo/logo-flat.d.ts.map +1 -0
- package/dist/components/features/logo/logo-icon.d.ts +27 -0
- package/dist/components/features/logo/logo-icon.d.ts.map +1 -0
- package/dist/components/features/logo/logo-stacked.d.ts +24 -0
- package/dist/components/features/logo/logo-stacked.d.ts.map +1 -0
- package/dist/components/features/logo/logo-text.d.ts +27 -0
- package/dist/components/features/logo/logo-text.d.ts.map +1 -0
- package/dist/components/features/logo/logo.d.ts +24 -0
- package/dist/components/features/logo/logo.d.ts.map +1 -0
- package/dist/components/features/logo/logo.styles.d.ts +28 -0
- package/dist/components/features/logo/logo.styles.d.ts.map +1 -0
- package/dist/components/features/logo/themed/index.d.ts +2 -0
- package/dist/components/features/logo/themed/index.d.ts.map +1 -0
- package/dist/components/features/logo/themed/logo-themed.d.ts +54 -0
- package/dist/components/features/logo/themed/logo-themed.d.ts.map +1 -0
- package/dist/components/features/picker/components/calendar.d.ts +14 -0
- package/dist/components/features/picker/components/calendar.d.ts.map +1 -0
- package/dist/components/features/picker/components/content.d.ts +18 -0
- package/dist/components/features/picker/components/content.d.ts.map +1 -0
- package/dist/components/features/picker/components/context.d.ts +57 -0
- package/dist/components/features/picker/components/context.d.ts.map +1 -0
- package/dist/components/features/picker/components/footer.d.ts +35 -0
- package/dist/components/features/picker/components/footer.d.ts.map +1 -0
- package/dist/components/features/picker/components/index.d.ts +36 -0
- package/dist/components/features/picker/components/index.d.ts.map +1 -0
- package/dist/components/features/picker/components/presets.d.ts +9 -0
- package/dist/components/features/picker/components/presets.d.ts.map +1 -0
- package/dist/components/features/picker/components/root.d.ts +40 -0
- package/dist/components/features/picker/components/root.d.ts.map +1 -0
- package/dist/components/features/picker/components/time-input-field.d.ts +13 -0
- package/dist/components/features/picker/components/time-input-field.d.ts.map +1 -0
- package/dist/components/features/picker/components/time-input.d.ts +13 -0
- package/dist/components/features/picker/components/time-input.d.ts.map +1 -0
- package/dist/components/features/picker/components/timezone-indicator.d.ts +14 -0
- package/dist/components/features/picker/components/timezone-indicator.d.ts.map +1 -0
- package/dist/components/features/picker/components/timezone-select.d.ts +16 -0
- package/dist/components/features/picker/components/timezone-select.d.ts.map +1 -0
- package/dist/components/features/picker/components/trigger.d.ts +23 -0
- package/dist/components/features/picker/components/trigger.d.ts.map +1 -0
- package/dist/components/features/picker/hooks/index.d.ts +5 -0
- package/dist/components/features/picker/hooks/index.d.ts.map +1 -0
- package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts +25 -0
- package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts.map +1 -0
- package/dist/components/features/picker/hooks/use-picker-state.d.ts +51 -0
- package/dist/components/features/picker/hooks/use-picker-state.d.ts.map +1 -0
- package/dist/components/features/picker/hooks/use-presets.d.ts +24 -0
- package/dist/components/features/picker/hooks/use-presets.d.ts.map +1 -0
- package/dist/components/features/picker/hooks/use-time-slots.d.ts +21 -0
- package/dist/components/features/picker/hooks/use-time-slots.d.ts.map +1 -0
- package/dist/components/features/picker/index.d.ts +8 -0
- package/dist/components/features/picker/index.d.ts.map +1 -0
- package/dist/components/features/picker/internal/use-deprecation-warning.d.ts +9 -0
- package/dist/components/features/picker/internal/use-deprecation-warning.d.ts.map +1 -0
- package/dist/components/features/picker/presets/defaults.d.ts +16 -0
- package/dist/components/features/picker/presets/defaults.d.ts.map +1 -0
- package/dist/components/features/picker/presets/index.d.ts +2 -0
- package/dist/components/features/picker/presets/index.d.ts.map +1 -0
- package/dist/components/features/picker/types.d.ts +70 -0
- package/dist/components/features/picker/types.d.ts.map +1 -0
- package/dist/components/features/picker/utils/commit.d.ts +16 -0
- package/dist/components/features/picker/utils/commit.d.ts.map +1 -0
- package/dist/components/features/picker/utils/compare.d.ts +12 -0
- package/dist/components/features/picker/utils/compare.d.ts.map +1 -0
- package/dist/components/features/picker/utils/format-value.d.ts +25 -0
- package/dist/components/features/picker/utils/format-value.d.ts.map +1 -0
- package/dist/components/features/picker/utils/format.d.ts +38 -0
- package/dist/components/features/picker/utils/format.d.ts.map +1 -0
- package/dist/components/features/picker/utils/index.d.ts +7 -0
- package/dist/components/features/picker/utils/index.d.ts.map +1 -0
- package/dist/components/features/picker/utils/range.d.ts +26 -0
- package/dist/components/features/picker/utils/range.d.ts.map +1 -0
- package/dist/components/features/picker/utils/timezone.d.ts +38 -0
- package/dist/components/features/picker/utils/timezone.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/date-picker.d.ts +10 -0
- package/dist/components/features/picker/wrappers/date-picker.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/date-range-picker.d.ts +16 -0
- package/dist/components/features/picker/wrappers/date-range-picker.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts +16 -0
- package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/date-time-picker.d.ts +20 -0
- package/dist/components/features/picker/wrappers/date-time-picker.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts +16 -0
- package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/index.d.ts +16 -0
- package/dist/components/features/picker/wrappers/index.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/internal/default-footer.d.ts +7 -0
- package/dist/components/features/picker/wrappers/internal/default-footer.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/time-picker.d.ts +14 -0
- package/dist/components/features/picker/wrappers/time-picker.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/time-range-picker.d.ts +16 -0
- package/dist/components/features/picker/wrappers/time-range-picker.d.ts.map +1 -0
- package/dist/components/features/picker/wrappers/types.d.ts +118 -0
- package/dist/components/features/picker/wrappers/types.d.ts.map +1 -0
- package/dist/components/features/tag-input/tag-input.d.ts +1 -1
- package/dist/components/features/tag-input/tag-input.d.ts.map +1 -1
- package/dist/components/features/time-picker/time-picker.d.ts +5 -0
- package/dist/components/features/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/features/time-picker/types.d.ts +5 -0
- package/dist/components/features/time-picker/types.d.ts.map +1 -1
- package/dist/components/features/time-range-picker/index.d.ts +5 -0
- package/dist/components/features/time-range-picker/index.d.ts.map +1 -1
- package/dist/components/features/time-range-picker/time-range-picker.d.ts +19 -14
- package/dist/components/features/time-range-picker/time-range-picker.d.ts.map +1 -1
- package/dist/components/features/time-range-picker/types.d.ts +20 -0
- package/dist/components/features/time-range-picker/types.d.ts.map +1 -1
- package/dist/data-table/index.mjs +22 -15
- package/dist/date-picker/index.mjs +2 -2
- package/dist/date-range-picker-DNZh06zo.mjs +77 -0
- package/dist/date-time-picker/index.mjs +1 -1
- package/dist/date-time-picker-BiobghTJ.mjs +43 -0
- package/dist/date-time-picker-C0fF7s_e.mjs +109 -0
- package/dist/date-time-range-picker-BAsH_Wv9.mjs +82 -0
- package/dist/default-footer-DbpemJVl.mjs +1037 -0
- package/dist/dropzone/index.mjs +1 -1
- package/dist/{dropzone-Bt0plEuw.mjs → dropzone-DXH0xHso.mjs} +1 -1
- package/dist/empty-content/index.mjs +1 -1
- package/dist/form/adapters/conform/index.mjs +19 -19
- package/dist/form/adapters/rhf/index.mjs +18 -18
- package/dist/form/index.mjs +2 -2
- package/dist/form/stepper/index.mjs +25 -23
- package/dist/{form-CCNN9VtJ.mjs → form-DvgKb4s4.mjs} +49 -42
- package/dist/{form-context-CeKyvO-A.mjs → form-context-0usxTumz.mjs} +3 -3
- package/dist/grid/index.mjs +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.mjs +44 -42
- package/dist/input-group/index.mjs +1 -1
- package/dist/{input-group-DDtz-RT7.mjs → input-group-CeMsDhOk.mjs} +1 -1
- package/dist/input-number/index.mjs +1 -1
- package/dist/{input-number-Diu-C6d5.mjs → input-number-BU4nno8J.mjs} +1 -1
- package/dist/loader-overlay/index.mjs +1 -1
- package/dist/logo/index.mjs +3 -0
- package/dist/logo/themed/index.mjs +106 -0
- package/dist/logo-BQVyMDDx.mjs +23 -0
- package/dist/logo-text-BW31T2dS.mjs +227 -0
- package/dist/map/index.mjs +1 -1
- package/dist/{map-qo7bY_g_.mjs → map-t6n7VaX1.mjs} +24 -27
- package/dist/more-actions/index.mjs +2 -2
- package/dist/{more-actions-Ca5qqd0H.mjs → more-actions-Bp0b_jek.mjs} +2 -2
- package/dist/multi-select/index.mjs +1 -1
- package/dist/{multi-select-DM_dxnSV.mjs → multi-select-7jly2Hcd.mjs} +6 -6
- package/dist/page-title/index.mjs +1 -1
- package/dist/picker/index.mjs +273 -0
- package/dist/rich-text-editor/index.mjs +1 -1
- package/dist/{rich-text-editor-CQH_U4T5.mjs → rich-text-editor-Ddqx_EiO.mjs} +1 -1
- package/dist/select/index.mjs +1 -1
- package/dist/select-By1ZqPgr.mjs +94 -0
- package/dist/select-Ck0szhAH.mjs +73 -0
- package/dist/sidebar/index.mjs +1 -1
- package/dist/{sidebar-B8LQJiNI.mjs → sidebar-CUnFkH7o.mjs} +32 -32
- package/dist/skeleton/index.mjs +1 -1
- package/dist/{skeleton-D4HOEiOZ.mjs → skeleton-CxAhQT6T.mjs} +1 -1
- package/dist/stepper/index.mjs +1 -1
- package/dist/{stepper-Beb-zbdL.mjs → stepper-BMC_QbJK.mjs} +7 -7
- package/dist/styles/root.css +4 -2
- package/dist/styles/shadcn/shadcn.css +212 -213
- package/dist/switch/index.mjs +1 -1
- package/dist/table/index.mjs +1 -1
- package/dist/tag-input/index.mjs +1 -1
- package/dist/{tag-input-Bf4GMptp.mjs → tag-input-CV1JbKTm.mjs} +1 -1
- package/dist/task-queue/index.mjs +1 -1
- package/dist/{task-queue-dropdown-D-LncEWm.mjs → task-queue-dropdown-J1FuQOSr.mjs} +3 -3
- package/dist/textarea/index.mjs +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/{themes-CAiN4b6G.mjs → themes-08-znmBI.mjs} +16 -16
- package/dist/time-input-9LdNL0Us.mjs +196 -0
- package/dist/time-picker/index.mjs +1 -1
- package/dist/time-picker-B-vpUClR.mjs +45 -0
- package/dist/time-picker-C840fLl6.mjs +49 -0
- package/dist/timezone-indicator-COoeMKKs.mjs +27 -0
- package/dist/{to-api-format-CgKcC9SK.mjs → to-api-format-CmXTvYka.mjs} +58 -243
- package/dist/toast/index.mjs +2 -2
- package/dist/{toast-DDdLgY53.mjs → toast-Bd5Kk7BB.mjs} +1 -1
- package/dist/tooltip/index.mjs +1 -1
- package/dist/transfer/index.mjs +1 -1
- package/dist/{transfer-CoGPwOc6.mjs → transfer-CuJGL420.mjs} +6 -6
- package/dist/{types-CKIe2WlV.mjs → types-DvMIxilw.mjs} +9 -3
- package/dist/typography/index.mjs +1 -1
- package/dist/{typography-TRKP_CLT.mjs → typography-CBwfg-vz.mjs} +5 -5
- package/dist/{use-copy-to-clipboard-D7KyLIAt.mjs → use-copy-to-clipboard-ZHDvfV3W.mjs} +1 -1
- package/dist/use-deprecation-warning-Dy_DOyLu.mjs +20 -0
- package/dist/{use-display-touched-C-afz17j.mjs → use-display-touched-CiY6ajpy.mjs} +5 -5
- package/dist/{use-option-picker-BXQOfyrK.mjs → use-option-picker-DV5O68eV.mjs} +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/visually-hidden/index.mjs +1 -1
- package/package.json +40 -25
- package/dist/calendar-date-picker-BaykEs6j.mjs +0 -749
- package/dist/date-time-picker-DKOxrhmc.mjs +0 -193
- package/dist/select-zxwykvQn.mjs +0 -163
- package/dist/time-picker-BZF5jbF6.mjs +0 -99
- package/dist/use-date-constraints-R3H4lIoT.mjs +0 -41
- /package/dist/{action-row-DnhBhMtt.mjs → action-row-DXw4UnHU.mjs} +0 -0
- /package/dist/{empty-content-CBh5bbtJ.mjs → empty-content-DTk_lwnh.mjs} +0 -0
- /package/dist/{hooks-DQXVwbrs.mjs → hooks-BPxgIHKV.mjs} +0 -0
- /package/dist/{loader-overlay-C2WDla6V.mjs → loader-overlay-B3YEoOFJ.mjs} +0 -0
- /package/dist/{map-leaflet-imports-yWwH4CHB.mjs → map-leaflet-imports-C8l0RTTP.mjs} +0 -0
- /package/dist/{page-title-ChLiv6gB.mjs → page-title-CGW3f4qH.mjs} +0 -0
- /package/dist/{skeleton-D2xuJdE1.mjs → skeleton-B1NOdZGM.mjs} +0 -0
- /package/dist/{switch-DcSF42Kc.mjs → switch-BcQaR1Bp.mjs} +0 -0
- /package/dist/{table-DWGT4cqh.mjs → table-ouGk4Vxe.mjs} +0 -0
- /package/dist/{textarea-BoChBcFz.mjs → textarea-q-k7DYwi.mjs} +0 -0
- /package/dist/{toast-D5XD7goD.mjs → toast-BWol1pyV.mjs} +0 -0
- /package/dist/{tooltip-a7NTDCWw.mjs → tooltip-CHuzXR_O.mjs} +0 -0
- /package/dist/{utils-BwB1mIdZ.mjs → utils-C07H7h7q.mjs} +0 -0
- /package/dist/{visuallyhidden-BHOPczmW.mjs → visuallyhidden-CoIJOJ9z.mjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/calendar-date-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAGjD,eAAO,MAAM,MAAM,UAalB,CAAA;AAED,eAAO,MAAM,mBAAmB;;8EAiB/B,CAAA;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,IAAI,CAAA;IACX,GAAG,EAAE,IAAI,CAAA;CACV;AAED,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,mBAAmB,CAAC;IACzF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,SAAS,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,EAAE,EAAE,IAAI,CAAA;KAAE,GAAG,SAAS,KAAK,IAAI,CAAA;IACnE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,aAAa,CAAC,EAAE,eAAe,EAAE,CAAA;IAEjC,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wFAAwF;IACxF,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/calendar-date-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAGjD;;;GAGG;AACH,eAAO,MAAM,MAAM,UAalB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;8EAiB/B,CAAA;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,IAAI,CAAA;IACX,GAAG,EAAE,IAAI,CAAA;CACV;AAED;;;;;GAKG;AACH,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,mBAAmB,CAAC;IACzF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,SAAS,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,EAAE,EAAE,IAAI,CAAA;KAAE,GAAG,SAAS,KAAK,IAAI,CAAA;IACnE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,aAAa,CAAC,EAAE,eAAe,EAAE,CAAA;IAEjC,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wFAAwF;IACxF,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB"}
|
|
@@ -54,5 +54,5 @@ import type { CodeEditorProps } from './types';
|
|
|
54
54
|
* @param props.minHeight - Minimum editor height (default: '200px')
|
|
55
55
|
* @returns Rendered Monaco editor with form integration
|
|
56
56
|
*/
|
|
57
|
-
export declare function CodeEditor({ value, onChange, language, id, name, error, className, readOnly, minHeight, }: CodeEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare function CodeEditor({ value, onChange, language, placeholder, id, name, error, className, readOnly, minHeight, }: CodeEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
58
58
|
//# sourceMappingURL=code-editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/features/code-editor/code-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,EAAE,EACF,IAAoB,EACpB,KAAK,EACL,SAAS,EACT,QAAgB,EAChB,SAAmB,GACpB,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"code-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/features/code-editor/code-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,EAAE,EACF,IAAoB,EACpB,KAAK,EACL,SAAS,EACT,QAAgB,EAChB,SAAmB,GACpB,EAAE,eAAe,2CA0DjB"}
|
|
@@ -2,5 +2,5 @@ export { CodeEditor } from './code-editor';
|
|
|
2
2
|
export { CodeEditorTabs } from './code-editor-tabs';
|
|
3
3
|
export { formatJson, formatYaml, isValidJson, isValidYaml, jsonToYaml, yamlToJson } from './lib/editor';
|
|
4
4
|
export { createCodeEditorSchema, jsonSchema, yamlSchema } from './types';
|
|
5
|
-
export type { CodeEditorProps, CodeEditorTabsProps, EditorLanguage } from './types';
|
|
5
|
+
export type { CodeEditorProps, CodeEditorTabsProps, EditorLanguage, MonacoLanguage } from './types';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/code-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACvG,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACxE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/code-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACvG,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACxE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export type EditorLanguage = 'json' | 'yaml' | 'typescript' | 'javascript' | 'python' | 'sql' | 'html' | 'css' | 'markdown';
|
|
3
|
+
/**
|
|
4
|
+
* Monaco Editor language identifier.
|
|
5
|
+
*
|
|
6
|
+
* Provides autocomplete for languages that ship in Monaco's default ESM bundle
|
|
7
|
+
* while still accepting any string — useful for custom languages registered via
|
|
8
|
+
* `monaco.languages.register({ id })`.
|
|
9
|
+
*
|
|
10
|
+
* The `(string & {})` intersection is a TypeScript idiom that prevents the
|
|
11
|
+
* literal union from collapsing into `string`, preserving autocomplete.
|
|
12
|
+
*
|
|
13
|
+
* Reference: https://github.com/microsoft/monaco-editor/tree/main/src/basic-languages
|
|
14
|
+
*/
|
|
15
|
+
export type MonacoLanguage = 'abap' | 'apex' | 'azcli' | 'bat' | 'bicep' | 'c' | 'clojure' | 'coffee' | 'cpp' | 'csharp' | 'css' | 'cypher' | 'dart' | 'dockerfile' | 'elixir' | 'fsharp' | 'go' | 'graphql' | 'handlebars' | 'hcl' | 'html' | 'ini' | 'java' | 'javascript' | 'json' | 'julia' | 'kotlin' | 'less' | 'lua' | 'markdown' | 'mdx' | 'mips' | 'mysql' | 'objective-c' | 'pascal' | 'perl' | 'pgsql' | 'php' | 'plaintext' | 'powerquery' | 'powershell' | 'protobuf' | 'pug' | 'python' | 'r' | 'razor' | 'redis' | 'redshift' | 'restructuredtext' | 'ruby' | 'rust' | 'sb' | 'scala' | 'scheme' | 'scss' | 'shell' | 'solidity' | 'sparql' | 'sql' | 'st' | 'swift' | 'systemverilog' | 'tcl' | 'twig' | 'typescript' | 'vb' | 'verilog' | 'xml' | 'yaml' | (string & {});
|
|
3
16
|
/**
|
|
4
17
|
* Props for the CodeEditor component.
|
|
5
18
|
*
|
|
@@ -23,8 +36,18 @@ export interface CodeEditorProps {
|
|
|
23
36
|
value: string;
|
|
24
37
|
/** Content change callback */
|
|
25
38
|
onChange?: (value: string) => void;
|
|
26
|
-
/**
|
|
27
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Syntax highlighting language. Accepts any Monaco built-in language ID
|
|
41
|
+
* (autocomplete provided) plus any custom language registered via
|
|
42
|
+
* `monaco.languages.register()`.
|
|
43
|
+
*/
|
|
44
|
+
language: MonacoLanguage;
|
|
45
|
+
/**
|
|
46
|
+
* Placeholder text shown when the editor is empty. Mirrors HTML input
|
|
47
|
+
* semantics — visible while `value === ''`, hidden as soon as content
|
|
48
|
+
* is entered.
|
|
49
|
+
*/
|
|
50
|
+
placeholder?: string;
|
|
28
51
|
/** Input element ID for form integration */
|
|
29
52
|
id?: string;
|
|
30
53
|
/** Input element name for form submission (default: 'code-editor') */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/code-editor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,UAAU,CAAA;AAE3H;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,eAAe;IAC9B,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/code-editor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,UAAU,CAAA;AAE3H;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,cAAc,GACpB,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,GAAG,GAAG,SAAS,GAAG,QAAQ,GACxE,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,QAAQ,GACtE,QAAQ,GAAG,IAAI,GAAG,SAAS,GAAG,YAAY,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GACnE,MAAM,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GACpE,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,aAAa,GAAG,QAAQ,GAChE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,GACpE,UAAU,GAAG,KAAK,GAAG,QAAQ,GAAG,GAAG,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GACpE,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,GAAG,QAAQ,GAChE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,IAAI,GAAG,OAAO,GACjE,eAAe,GAAG,KAAK,GAAG,MAAM,GAAG,YAAY,GAAG,IAAI,GAAG,SAAS,GAClE,KAAK,GAAG,MAAM,GACd,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAEnB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,eAAe;IAC9B,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC;;;;OAIG;IACH,QAAQ,EAAE,cAAc,CAAA;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4CAA4C;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,mBAAmB;IAClC,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,yCAAyC;IACzC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IAC1D,wDAAwD;IACxD,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,6BAA6B;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IACjD,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,UAAU;;iBAKrB,CAAA;AAEF,eAAO,MAAM,UAAU;;iBAKrB,CAAA;AAEF,wBAAgB,sBAAsB,CAAC,IAAI,SAAgB;;;;;;;;;kBAuB1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/data-table/core/client-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAsC,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAM7F,MAAM,MAAM,4BAA4B,CAAC,KAAK,IAAI,yBAAyB,CAAC,KAAK,CAAC,GAAG;IACnF,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AA2BD,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,EAAE,4BAA4B,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"client-provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/data-table/core/client-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAsC,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAM7F,MAAM,MAAM,4BAA4B,CAAC,KAAK,IAAI,yBAAyB,CAAC,KAAK,CAAC,GAAG;IACnF,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AA2BD,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,EAAE,4BAA4B,CAAC,KAAK,CAAC,2CAiG/E"}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import type { DateTimePickerProps } from './types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `DateTimePicker` from `@datum-cloud/datum-ui/picker`
|
|
4
|
+
* instead. This adapter shim ships through 0.10.x and is removed in 1.0.0.
|
|
5
|
+
* See `picker-migration.mdx`.
|
|
6
|
+
*
|
|
7
|
+
* Notable diff: legacy `showTimezoneIndicator` (default `false`) is the
|
|
8
|
+
* inverse of the new `hideTimezone` prop. The shim handles the inversion
|
|
9
|
+
* and pins the trigger label / time-input UX to the legacy semantics
|
|
10
|
+
* (typeable input via `timeInputMode='input'`, bare TZ name via
|
|
11
|
+
* `timezoneIndicatorVariant='compact'`).
|
|
12
|
+
*/
|
|
13
|
+
export declare function DateTimePicker({ value, onChange, minDate, maxDate, disabledDates: _disabledDates, disablePast, disableFuture, timezone, showTimezoneIndicator, placeholder, disabled, className, modal, sheetTitle, sheetDescription, responsive, }: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
14
|
export declare namespace DateTimePicker {
|
|
7
15
|
var displayName: string;
|
|
8
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-time-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/features/date-time-picker/date-time-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"date-time-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/features/date-time-picker/date-time-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAIlD;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,aAAa,EAAE,cAAc,EAC7B,WAAW,EACX,aAAa,EACb,QAAQ,EACR,qBAA6B,EAC7B,WAAW,EACX,QAAQ,EACR,SAAS,EACT,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAiB,GAClB,EAAE,mBAAmB,2CAyBrB;yBA1Ce,cAAc"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `DateTimePickerProps` from `@datum-cloud/datum-ui/picker`
|
|
3
|
+
* instead. Kept for the legacy `@datum-cloud/datum-ui/date-time-picker` shim,
|
|
4
|
+
* which ships through 0.10.x and is removed in 1.0.0. See
|
|
5
|
+
* `picker-migration.mdx`.
|
|
6
|
+
*/
|
|
1
7
|
export interface DateTimePickerProps {
|
|
2
8
|
/**
|
|
3
9
|
* Current value (UTC ISO string)
|
|
@@ -74,6 +80,9 @@ export interface DateTimePickerProps {
|
|
|
74
80
|
}
|
|
75
81
|
/**
|
|
76
82
|
* Internal state for date + time selection
|
|
83
|
+
*
|
|
84
|
+
* @deprecated Internal type for the legacy DateTimePicker shim. Removed in
|
|
85
|
+
* 1.0.0 alongside the rest of `@datum-cloud/datum-ui/date-time-picker`.
|
|
77
86
|
*/
|
|
78
87
|
export interface DateTimeState {
|
|
79
88
|
date: Date | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/date-time-picker/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAA;IAElD;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAE/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/date-time-picker/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAA;IAEd;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAA;IAElD;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAE/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,IAAI,GAAG,SAAS,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"col.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/grid/components/col.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAW,MAAM,qBAAqB,CAAA;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"col.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/grid/components/col.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAW,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA4E3B,CAAA;AAED,eAAe,GAAG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/grid/components/row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAY,MAAM,qBAAqB,CAAA;AAC7E,OAAO,
|
|
1
|
+
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/grid/components/row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAY,MAAM,qBAAqB,CAAA;AAC7E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,eAAO,MAAM,UAAU,sCAAmD,CAAA;AAE1E,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAwF3B,CAAA;AAED,eAAe,GAAG,CAAA"}
|
|
@@ -17,6 +17,7 @@ export * from './grid';
|
|
|
17
17
|
export * from './input-number';
|
|
18
18
|
export * from './input-with-addons';
|
|
19
19
|
export * from './loader-overlay';
|
|
20
|
+
export * from './logo';
|
|
20
21
|
export * from './more-actions';
|
|
21
22
|
export * from './multi-select';
|
|
22
23
|
export * from './nprogress';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/features/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/features/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Logo } from './logo';
|
|
2
|
+
export { LogoFlat, type LogoFlatProps } from './logo-flat';
|
|
3
|
+
export { LogoIcon, type LogoIconProps } from './logo-icon';
|
|
4
|
+
export { LogoStacked, type LogoStackedProps } from './logo-stacked';
|
|
5
|
+
export { LogoText, type LogoTextProps } from './logo-text';
|
|
6
|
+
export { logoStyles, type LogoTone } from './logo.styles';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/logo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { LogoTone } from './logo.styles';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface LogoFlatProps extends Omit<React.SVGProps<SVGSVGElement>, 'role'> {
|
|
4
|
+
/** Colour treatment. Defaults to `brand` (navy text + rose mark). */
|
|
5
|
+
'tone'?: LogoTone;
|
|
6
|
+
/**
|
|
7
|
+
* Mark the logo as decorative (sets `aria-hidden`, drops `role`/`aria-label`).
|
|
8
|
+
* Use when the logo sits next to a textual brand name.
|
|
9
|
+
*/
|
|
10
|
+
'decorative'?: boolean;
|
|
11
|
+
/** Accessible name. Defaults to `'Datum'`. Ignored when `decorative`. */
|
|
12
|
+
'aria-label'?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Datum horizontal lockup ("Datum" wordmark + D mark).
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <Logo.Flat className="h-8 w-auto" />
|
|
20
|
+
* <Logo.Flat tone="mono-light" className="h-8 w-auto" /> // for dark surfaces
|
|
21
|
+
* <Logo.Flat decorative className="h-8 w-auto" /> // sibling to brand text
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function LogoFlat({ tone, decorative, className, 'aria-label': ariaLabel, ...props }: LogoFlatProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare namespace LogoFlat {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=logo-flat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo-flat.d.ts","sourceRoot":"","sources":["../../../../src/components/features/logo/logo-flat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChF,qEAAqE;IACrE,MAAM,CAAC,EAAE,QAAQ,CAAA;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,UAAkB,EAClB,SAAS,EACT,YAAY,EAAE,SAAmB,EACjC,GAAG,KAAK,EACT,EAAE,aAAa,2CA0Cf;yBAhDe,QAAQ"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { LogoTone } from './logo.styles';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface LogoIconProps extends Omit<React.SVGProps<SVGSVGElement>, 'role'> {
|
|
4
|
+
/** Colour treatment. Defaults to `brand` (uses the rose mark colour). */
|
|
5
|
+
'tone'?: LogoTone;
|
|
6
|
+
/** Mark the logo as decorative (sets `aria-hidden`). */
|
|
7
|
+
'decorative'?: boolean;
|
|
8
|
+
/** Accessible name. Defaults to `'Datum'`. Ignored when `decorative`. */
|
|
9
|
+
'aria-label'?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Datum "D" mark — the standalone icon, no wordmark.
|
|
13
|
+
*
|
|
14
|
+
* Always square — drive size with a single class such as `size-8`.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <Logo.Icon className="size-8" />
|
|
19
|
+
* <Logo.Icon tone="mono-light" className="size-8" />
|
|
20
|
+
* <Logo.Icon decorative className="size-6" /> // sibling to brand text
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function LogoIcon({ tone, decorative, className, 'aria-label': ariaLabel, ...props }: LogoIconProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace LogoIcon {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=logo-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/features/logo/logo-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChF,yEAAyE;IACzE,MAAM,CAAC,EAAE,QAAQ,CAAA;IACjB,wDAAwD;IACxD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,UAAkB,EAClB,SAAS,EACT,YAAY,EAAE,SAAmB,EACjC,GAAG,KAAK,EACT,EAAE,aAAa,2CAsBf;yBA5Be,QAAQ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LogoTone } from './logo.styles';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface LogoStackedProps extends Omit<React.SVGProps<SVGSVGElement>, 'role'> {
|
|
4
|
+
/** Colour treatment. Defaults to `brand` (navy text + rose mark). */
|
|
5
|
+
'tone'?: LogoTone;
|
|
6
|
+
/** Mark the logo as decorative (sets `aria-hidden`). */
|
|
7
|
+
'decorative'?: boolean;
|
|
8
|
+
/** Accessible name. Defaults to `'Datum'`. Ignored when `decorative`. */
|
|
9
|
+
'aria-label'?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Datum stacked lockup (D mark above the "Datum" wordmark).
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Logo.Stacked className="h-16 w-auto" />
|
|
17
|
+
* <Logo.Stacked tone="mono-light" className="h-16 w-auto" />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function LogoStacked({ tone, decorative, className, 'aria-label': ariaLabel, ...props }: LogoStackedProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare namespace LogoStacked {
|
|
22
|
+
var displayName: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=logo-stacked.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo-stacked.d.ts","sourceRoot":"","sources":["../../../../src/components/features/logo/logo-stacked.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IACnF,qEAAqE;IACrE,MAAM,CAAC,EAAE,QAAQ,CAAA;IACjB,wDAAwD;IACxD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,UAAkB,EAClB,SAAS,EACT,YAAY,EAAE,SAAmB,EACjC,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA0ClB;yBAhDe,WAAW"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { LogoTone } from './logo.styles';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface LogoTextProps extends Omit<React.SVGProps<SVGSVGElement>, 'role'> {
|
|
4
|
+
/** Colour treatment. Defaults to `brand` (uses the navy text colour). */
|
|
5
|
+
'tone'?: LogoTone;
|
|
6
|
+
/** Mark the logo as decorative (sets `aria-hidden`). */
|
|
7
|
+
'decorative'?: boolean;
|
|
8
|
+
/** Accessible name. Defaults to `'Datum'`. Ignored when `decorative`. */
|
|
9
|
+
'aria-label'?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* "Datum" wordmark only — no D mark.
|
|
13
|
+
*
|
|
14
|
+
* The viewBox is cropped to the wordmark glyphs only, so the component
|
|
15
|
+
* sits flush without leading whitespace where the D mark would otherwise be.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <Logo.Text className="h-6 w-auto" />
|
|
20
|
+
* <Logo.Text tone="mono-light" className="h-6 w-auto" />
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function LogoText({ tone, decorative, className, 'aria-label': ariaLabel, ...props }: LogoTextProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace LogoText {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=logo-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo-text.d.ts","sourceRoot":"","sources":["../../../../src/components/features/logo/logo-text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChF,yEAAyE;IACzE,MAAM,CAAC,EAAE,QAAQ,CAAA;IACjB,wDAAwD;IACxD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,UAAkB,EAClB,SAAS,EACT,YAAY,EAAE,SAAmB,EACjC,GAAG,KAAK,EACT,EAAE,aAAa,2CAsCf;yBA5Ce,QAAQ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LogoFlat } from './logo-flat';
|
|
2
|
+
import { LogoIcon } from './logo-icon';
|
|
3
|
+
import { LogoStacked } from './logo-stacked';
|
|
4
|
+
import { LogoText } from './logo-text';
|
|
5
|
+
/**
|
|
6
|
+
* Datum logo namespace.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { Logo } from '@datum-cloud/datum-ui/logo'
|
|
11
|
+
*
|
|
12
|
+
* <Logo.Flat className="h-8 w-auto" />
|
|
13
|
+
* <Logo.Stacked tone="mono-light" className="h-16 w-auto" />
|
|
14
|
+
* <Logo.Icon className="size-8" />
|
|
15
|
+
* <Logo.Text className="h-6 w-auto" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare const Logo: {
|
|
19
|
+
readonly Flat: typeof LogoFlat;
|
|
20
|
+
readonly Stacked: typeof LogoStacked;
|
|
21
|
+
readonly Icon: typeof LogoIcon;
|
|
22
|
+
readonly Text: typeof LogoText;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=logo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../../src/components/features/logo/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,IAAI;;;;;CAKP,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slot classes for the Datum logo family.
|
|
3
|
+
*
|
|
4
|
+
* - `base`: applied to the `<svg>` root. Defaults to `block h-auto max-w-full`
|
|
5
|
+
* so the size is driven by consumer-supplied Tailwind classes
|
|
6
|
+
* (e.g. `className="h-8 w-auto"` or `size-8` for the icon).
|
|
7
|
+
* - `mark`: applied to the "D" mark `<path>` element(s).
|
|
8
|
+
* - `text`: applied to the wordmark `<path>` element(s).
|
|
9
|
+
*
|
|
10
|
+
* Four tones are exposed:
|
|
11
|
+
* - `brand` (default) — rose mark `#BF9595` + navy text `#0C1D31`.
|
|
12
|
+
* - `mono-light` — lime mark `#E6F59F` + white text, matching
|
|
13
|
+
* `Logo - flat - light.svg`; the standard treatment on dark surfaces.
|
|
14
|
+
* - `mono-dark` — both slots in the navy brand colour `#0C1D31`, for
|
|
15
|
+
* monochrome use on light surfaces.
|
|
16
|
+
* - `white` — both slots in `white`, matching `Logo - flat - white - light.svg`;
|
|
17
|
+
* use over photographic or strongly coloured surfaces where the lime
|
|
18
|
+
* accent would clash.
|
|
19
|
+
*/
|
|
20
|
+
export type LogoTone = 'brand' | 'mono-light' | 'mono-dark' | 'white';
|
|
21
|
+
export interface LogoSlotClasses {
|
|
22
|
+
base: string;
|
|
23
|
+
mark: string;
|
|
24
|
+
text: string;
|
|
25
|
+
}
|
|
26
|
+
/** Resolve slot classes for a tone. Defaults to `brand` when `tone` is undefined. */
|
|
27
|
+
export declare function logoStyles(tone?: LogoTone): LogoSlotClasses;
|
|
28
|
+
//# sourceMappingURL=logo.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/features/logo/logo.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,WAAW,GAAG,OAAO,CAAA;AAErE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAuBD,qFAAqF;AACrF,wBAAgB,UAAU,CAAC,IAAI,GAAE,QAAkB,GAAG,eAAe,CAGpE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/logo/themed/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,cAAc,GACf,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { LogoFlatProps } from '../logo-flat';
|
|
2
|
+
import type { LogoIconProps } from '../logo-icon';
|
|
3
|
+
import type { LogoStackedProps } from '../logo-stacked';
|
|
4
|
+
import type { LogoTextProps } from '../logo-text';
|
|
5
|
+
import type { LogoTone } from '../logo.styles';
|
|
6
|
+
type ThemedProps<P> = Omit<P, 'tone'> & {
|
|
7
|
+
/** Force a specific tone, bypassing the theme-driven default. */
|
|
8
|
+
tone?: LogoTone;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Theme-aware variant of `Logo.Flat`. Picks `brand` on light theme and
|
|
12
|
+
* `mono-light` on dark theme via `useTheme()`. Falls back to `brand`
|
|
13
|
+
* during SSR / before hydration via `ClientOnly`.
|
|
14
|
+
*/
|
|
15
|
+
export declare function ThemedLogoFlat(props: ThemedProps<LogoFlatProps>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare namespace ThemedLogoFlat {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
19
|
+
/** Theme-aware variant of `Logo.Stacked`. See `ThemedLogoFlat` for behaviour. */
|
|
20
|
+
export declare function ThemedLogoStacked(props: ThemedProps<LogoStackedProps>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare namespace ThemedLogoStacked {
|
|
22
|
+
var displayName: string;
|
|
23
|
+
}
|
|
24
|
+
/** Theme-aware variant of `Logo.Icon`. See `ThemedLogoFlat` for behaviour. */
|
|
25
|
+
export declare function ThemedLogoIcon(props: ThemedProps<LogoIconProps>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare namespace ThemedLogoIcon {
|
|
27
|
+
var displayName: string;
|
|
28
|
+
}
|
|
29
|
+
/** Theme-aware variant of `Logo.Text`. See `ThemedLogoFlat` for behaviour. */
|
|
30
|
+
export declare function ThemedLogoText(props: ThemedProps<LogoTextProps>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare namespace ThemedLogoText {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Theme-aware Datum logo namespace.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* import { ThemedLogo } from '@datum-cloud/datum-ui/logo/themed'
|
|
40
|
+
*
|
|
41
|
+
* <ThemedLogo.Flat className="h-8 w-auto" /> // resolves from useTheme()
|
|
42
|
+
* <ThemedLogo.Stacked tone="mono-dark" /> // explicit override
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* Requires a `ThemeProvider` ancestor.
|
|
46
|
+
*/
|
|
47
|
+
export declare const ThemedLogo: {
|
|
48
|
+
readonly Flat: typeof ThemedLogoFlat;
|
|
49
|
+
readonly Stacked: typeof ThemedLogoStacked;
|
|
50
|
+
readonly Icon: typeof ThemedLogoIcon;
|
|
51
|
+
readonly Text: typeof ThemedLogoText;
|
|
52
|
+
};
|
|
53
|
+
export {};
|
|
54
|
+
//# sourceMappingURL=logo-themed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo-themed.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/logo/themed/logo-themed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAsB9C,KAAK,WAAW,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IACtC,iEAAiE;IACjE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB,CAAA;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,CAAC,aAAa,CAAC,2CAQ/D;yBARe,cAAc;;;AAW9B,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,2CAQrE;yBARe,iBAAiB;;;AAWjC,8EAA8E;AAC9E,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,CAAC,aAAa,CAAC,2CAQ/D;yBARe,cAAc;;;AAW9B,8EAA8E;AAC9E,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,CAAC,aAAa,CAAC,2CAQ/D;yBARe,cAAc;;;AAW9B;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU;;;;;CAKb,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface PickerCalendarProps {
|
|
2
|
+
numberOfMonths?: 1 | 2;
|
|
3
|
+
className?: string;
|
|
4
|
+
minDate?: Date;
|
|
5
|
+
maxDate?: Date;
|
|
6
|
+
disablePast?: boolean;
|
|
7
|
+
disableFuture?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function PickerCalendar({ numberOfMonths, className, minDate, maxDate, disablePast, disableFuture, }: PickerCalendarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export declare namespace PickerCalendar {
|
|
11
|
+
var displayName: string;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/picker/components/calendar.tsx"],"names":[],"mappings":"AAcA,UAAU,mBAAmB;IAC3B,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,cAAc,CAAC,EAC7B,cAAkB,EAClB,SAAS,EACT,OAAO,EACP,OAAO,EACP,WAAW,EACX,aAAa,GACd,EAAE,mBAAmB,kDA0FrB;yBAjGe,cAAc"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface PickerContentProps {
|
|
3
|
+
trigger: ReactNode;
|
|
4
|
+
sheetTitle: string;
|
|
5
|
+
sheetDescription?: string;
|
|
6
|
+
footer?: ReactNode;
|
|
7
|
+
align?: 'start' | 'center' | 'end';
|
|
8
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
9
|
+
modal?: boolean;
|
|
10
|
+
contentClassName?: string;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare function PickerContent({ trigger, sheetTitle, sheetDescription, footer, align, side, modal, contentClassName, children, }: PickerContentProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare namespace PickerContent {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/picker/components/content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,UAAU,kBAAkB;IAC1B,OAAO,EAAE,SAAS,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAC1C,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,KAAe,EACf,IAAe,EACf,KAAK,EACL,gBAAgB,EAChB,QAAQ,GACT,EAAE,kBAAkB,2CA+BpB;yBAzCe,aAAa"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { RefObject } from 'react';
|
|
2
|
+
import type { BreakpointTier } from '../../../../hooks/use-breakpoint';
|
|
3
|
+
import type { AllowedStep, HourCycle, PickerCommit, PickerMode, PickerPreset, PickerValueOf } from '../types';
|
|
4
|
+
export interface PickerContextValue<M extends PickerMode = PickerMode> {
|
|
5
|
+
mode: M;
|
|
6
|
+
timezone: string;
|
|
7
|
+
effectiveCommit: PickerCommit;
|
|
8
|
+
hourCycle: HourCycle;
|
|
9
|
+
step: AllowedStep;
|
|
10
|
+
hideTimezone: boolean;
|
|
11
|
+
responsive: boolean;
|
|
12
|
+
presets: readonly PickerPreset[];
|
|
13
|
+
/** Element reference for keyboard shortcut scoping. */
|
|
14
|
+
rootRef: RefObject<HTMLDivElement | null>;
|
|
15
|
+
/** Current viewport bucket — drives mobile sheet decisions in primitives. */
|
|
16
|
+
breakpoint: BreakpointTier;
|
|
17
|
+
state: {
|
|
18
|
+
pendingValue: PickerValueOf<M>;
|
|
19
|
+
open: boolean;
|
|
20
|
+
selectedPresetKey: string | undefined;
|
|
21
|
+
monthFrom: Date | undefined;
|
|
22
|
+
monthTo: Date | undefined;
|
|
23
|
+
};
|
|
24
|
+
actions: {
|
|
25
|
+
setSingleDate: (d: Date | null) => void;
|
|
26
|
+
setSingleTime: (t: string | null) => void;
|
|
27
|
+
setSingleDatetime: (iso: string | null) => void;
|
|
28
|
+
setRange: (r: {
|
|
29
|
+
from: Date;
|
|
30
|
+
to: Date;
|
|
31
|
+
} | null) => void;
|
|
32
|
+
setTimeRange: (r: {
|
|
33
|
+
from: string;
|
|
34
|
+
to: string;
|
|
35
|
+
} | null) => void;
|
|
36
|
+
setDatetimeRange: (r: {
|
|
37
|
+
from: string;
|
|
38
|
+
to: string;
|
|
39
|
+
} | null) => void;
|
|
40
|
+
selectPreset: (range: {
|
|
41
|
+
from: Date;
|
|
42
|
+
to: Date;
|
|
43
|
+
}, key: string) => void;
|
|
44
|
+
setMonthFrom: (d: Date) => void;
|
|
45
|
+
setMonthTo: (d: Date) => void;
|
|
46
|
+
open: () => void;
|
|
47
|
+
close: () => void;
|
|
48
|
+
apply: () => void;
|
|
49
|
+
reset: () => void;
|
|
50
|
+
cancel: () => void;
|
|
51
|
+
clear: () => void;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export declare const PickerContext: import("react").Context<PickerContextValue<PickerMode> | null>;
|
|
55
|
+
/** Throws when used outside `<Picker.Root>` — enforces compound-component discipline. */
|
|
56
|
+
export declare function usePickerContext<M extends PickerMode = PickerMode>(): PickerContextValue<M>;
|
|
57
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/picker/components/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACtE,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,aAAa,EACd,MAAM,UAAU,CAAA;AAGjB,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU;IACnE,IAAI,EAAE,CAAC,CAAA;IACP,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,YAAY,CAAA;IAC7B,SAAS,EAAE,SAAS,CAAA;IACpB,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,SAAS,YAAY,EAAE,CAAA;IAChC,uDAAuD;IACvD,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACzC,6EAA6E;IAC7E,UAAU,EAAE,cAAc,CAAA;IAC1B,KAAK,EAAE;QACL,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAA;QAC9B,IAAI,EAAE,OAAO,CAAA;QACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAA;QACrC,SAAS,EAAE,IAAI,GAAG,SAAS,CAAA;QAC3B,OAAO,EAAE,IAAI,GAAG,SAAS,CAAA;KAC1B,CAAA;IACD,OAAO,EAAE;QACP,aAAa,EAAE,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;QACvC,aAAa,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;QACzC,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;QAC/C,QAAQ,EAAE,CAAC,CAAC,EAAE;YAAE,IAAI,EAAE,IAAI,CAAC;YAAC,EAAE,EAAE,IAAI,CAAA;SAAE,GAAG,IAAI,KAAK,IAAI,CAAA;QACtD,YAAY,EAAE,CAAC,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,EAAE,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,KAAK,IAAI,CAAA;QAC9D,gBAAgB,EAAE,CAAC,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,EAAE,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,KAAK,IAAI,CAAA;QAClE,YAAY,EAAE,CAAC,KAAK,EAAE;YAAE,IAAI,EAAE,IAAI,CAAC;YAAC,EAAE,EAAE,IAAI,CAAA;SAAE,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;QACpE,YAAY,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;QAC/B,UAAU,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;QAC7B,IAAI,EAAE,MAAM,IAAI,CAAA;QAChB,KAAK,EAAE,MAAM,IAAI,CAAA;QACjB,KAAK,EAAE,MAAM,IAAI,CAAA;QACjB,KAAK,EAAE,MAAM,IAAI,CAAA;QACjB,MAAM,EAAE,MAAM,IAAI,CAAA;QAClB,KAAK,EAAE,MAAM,IAAI,CAAA;KAClB,CAAA;CACF;AAED,eAAO,MAAM,aAAa,gEAAiD,CAAA;AAE3E,yFAAyF;AACzF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,KAAK,kBAAkB,CAAC,CAAC,CAAC,CAM3F"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface PickerFooterProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function PickerFooter({ children, className }: PickerFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare namespace PickerFooter {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function PickerApply({ children }: {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare namespace PickerApply {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function PickerReset({ children }: {
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare namespace PickerReset {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function PickerCancel({ children, }: {
|
|
23
|
+
children?: ReactNode;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare namespace PickerCancel {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function PickerClear({ children }: {
|
|
29
|
+
children?: ReactNode;
|
|
30
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare namespace PickerClear {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=footer.d.ts.map
|