@powerhousedao/document-engineering 1.37.0 → 1.39.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/setupTests.d.ts +2 -0
- package/dist/setupTests.d.ts.map +1 -0
- package/dist/setupTests.js +2 -0
- package/dist/setupTests.js.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.stories.d.ts +71 -0
- package/dist/src/scalars/components/aid-field/aid-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.stories.js +495 -0
- package/dist/src/scalars/components/aid-field/aid-field.stories.js.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.test.d.ts +2 -0
- package/dist/src/scalars/components/aid-field/aid-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.test.js +180 -0
- package/dist/src/scalars/components/aid-field/aid-field.test.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.stories.d.ts +267 -0
- package/dist/src/scalars/components/amount-field/amount-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.stories.js +339 -0
- package/dist/src/scalars/components/amount-field/amount-field.stories.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.test.d.ts +2 -0
- package/dist/src/scalars/components/amount-field/amount-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.test.js +53 -0
- package/dist/src/scalars/components/amount-field/amount-field.test.js.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.stories.d.ts +85 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.stories.js +113 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.stories.js.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.test.d.ts +2 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.test.js +82 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.test.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.js +1 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.js.map +1 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.stories.d.ts +19 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.stories.js +173 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.stories.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.test.d.ts +2 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.test.js +116 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.test.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.d.ts +12 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.js +160 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.test.d.ts +2 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.test.js +47 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.test.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.d.ts +26 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.js +296 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.test.d.ts +2 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.test.js +119 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.test.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.d.ts +19 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.js +218 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.d.ts +2 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.js +125 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.js.map +1 -0
- package/dist/src/scalars/components/email-field/email-field.stories.d.ts +12 -0
- package/dist/src/scalars/components/email-field/email-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/email-field/email-field.stories.js +108 -0
- package/dist/src/scalars/components/email-field/email-field.stories.js.map +1 -0
- package/dist/src/scalars/components/email-field/email-field.test.d.ts +2 -0
- package/dist/src/scalars/components/email-field/email-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/email-field/email-field.test.js +162 -0
- package/dist/src/scalars/components/email-field/email-field.test.js.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.stories.d.ts +46 -0
- package/dist/src/scalars/components/enum-field/enum-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.stories.js +360 -0
- package/dist/src/scalars/components/enum-field/enum-field.stories.js.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.test.d.ts +2 -0
- package/dist/src/scalars/components/enum-field/enum-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.test.js +89 -0
- package/dist/src/scalars/components/enum-field/enum-field.test.js.map +1 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.d.ts +21 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.js +76 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.js.map +1 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.d.ts +21 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.js +141 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.js.map +1 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.stories.d.ts +21 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.stories.js +48 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.stories.js.map +1 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.d.ts +21 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.js +47 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.js.map +1 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.d.ts +21 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.js +19 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.js.map +1 -0
- package/dist/src/scalars/components/file-field/file-field.stories.d.ts +15 -0
- package/dist/src/scalars/components/file-field/file-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/file-field/file-field.stories.js +199 -0
- package/dist/src/scalars/components/file-field/file-field.stories.js.map +1 -0
- package/dist/src/scalars/components/file-field/index.js +1 -0
- package/dist/src/scalars/components/file-field/index.js.map +1 -1
- package/dist/src/scalars/components/form/form.test.d.ts +2 -0
- package/dist/src/scalars/components/form/form.test.d.ts.map +1 -0
- package/dist/src/scalars/components/form/form.test.js +129 -0
- package/dist/src/scalars/components/form/form.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/button/button.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/button/button.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/button/button.test.js +11 -0
- package/dist/src/scalars/components/fragments/button/button.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.d.ts +30 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.js +48 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.js.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.test.js +36 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.js +53 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/command/command.d.ts +3 -3
- package/dist/src/scalars/components/fragments/command/command.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/command/command.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/command/command.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/command/command.test.js +11 -0
- package/dist/src/scalars/components/fragments/command/command.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.stories.d.ts +18 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.stories.js +25 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.stories.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.test.js +29 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.test.js +16 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.stories.d.ts +11 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.stories.js +74 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.stories.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.test.js +53 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.stories.d.ts +9 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.stories.js +43 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.stories.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.test.js +49 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts +1 -2
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +13 -13
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.js +136 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts +1 -1
- package/dist/src/scalars/components/fragments/popover/popover.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/popover/popover.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/popover/popover.test.js +11 -0
- package/dist/src/scalars/components/fragments/popover/popover.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.js +18 -0
- package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.js +133 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.test.js +160 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.test.js +47 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.test.js +106 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.js +100 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.js +56 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts +1 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +2 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +1 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.js +102 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.js.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.d.ts +2 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.js +141 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.js.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.stories.d.ts +58 -0
- package/dist/src/scalars/components/id-field/id-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.stories.js +73 -0
- package/dist/src/scalars/components/id-field/id-field.stories.js.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.test.d.ts +2 -0
- package/dist/src/scalars/components/id-field/id-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.test.js +80 -0
- package/dist/src/scalars/components/id-field/id-field.test.js.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.d.ts +2 -1
- package/dist/src/scalars/components/number-field/number-field.d.ts.map +1 -1
- package/dist/src/scalars/components/number-field/number-field.js.map +1 -1
- package/dist/src/scalars/components/number-field/number-field.stories.d.ts +156 -0
- package/dist/src/scalars/components/number-field/number-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.stories.js +228 -0
- package/dist/src/scalars/components/number-field/number-field.stories.js.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.test.d.ts +2 -0
- package/dist/src/scalars/components/number-field/number-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.test.js +336 -0
- package/dist/src/scalars/components/number-field/number-field.test.js.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.stories.d.ts +69 -0
- package/dist/src/scalars/components/oid-field/oid-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.stories.js +447 -0
- package/dist/src/scalars/components/oid-field/oid-field.stories.js.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.test.d.ts +2 -0
- package/dist/src/scalars/components/oid-field/oid-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.test.js +161 -0
- package/dist/src/scalars/components/oid-field/oid-field.test.js.map +1 -0
- package/dist/src/scalars/components/password-field/password-field.stories.d.ts +23 -0
- package/dist/src/scalars/components/password-field/password-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/password-field/password-field.stories.js +234 -0
- package/dist/src/scalars/components/password-field/password-field.stories.js.map +1 -0
- package/dist/src/scalars/components/password-field/password-field.test.d.ts +2 -0
- package/dist/src/scalars/components/password-field/password-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/password-field/password-field.test.js +112 -0
- package/dist/src/scalars/components/password-field/password-field.test.js.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.stories.d.ts +69 -0
- package/dist/src/scalars/components/phid-field/phid-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.stories.js +476 -0
- package/dist/src/scalars/components/phid-field/phid-field.stories.js.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.test.d.ts +2 -0
- package/dist/src/scalars/components/phid-field/phid-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.test.js +164 -0
- package/dist/src/scalars/components/phid-field/phid-field.test.js.map +1 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.d.ts +19 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.js +116 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.js.map +1 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.test.d.ts +2 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.test.js +225 -0
- package/dist/src/scalars/components/phone-number-field/phone-number-field.test.js.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.stories.d.ts +18 -0
- package/dist/src/scalars/components/string-field/string-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.stories.js +143 -0
- package/dist/src/scalars/components/string-field/string-field.stories.js.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.test.d.ts +2 -0
- package/dist/src/scalars/components/string-field/string-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.test.js +60 -0
- package/dist/src/scalars/components/string-field/string-field.test.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.d.ts +25 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.js +150 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.test.d.ts +2 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.test.js +123 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.test.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.stories.d.ts +17 -0
- package/dist/src/scalars/components/url-field/url-field.stories.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.stories.js +146 -0
- package/dist/src/scalars/components/url-field/url-field.stories.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.test.d.ts +2 -0
- package/dist/src/scalars/components/url-field/url-field.test.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.test.js +131 -0
- package/dist/src/scalars/components/url-field/url-field.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/Amount.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/Amount.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/Amount.test.js +135 -0
- package/dist/src/scalars/graphql/test/Amount.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/AmountCrypto.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/AmountCrypto.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/AmountCrypto.test.js +138 -0
- package/dist/src/scalars/graphql/test/AmountCrypto.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/AmountCurrency.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/AmountCurrency.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/AmountCurrency.test.js +141 -0
- package/dist/src/scalars/graphql/test/AmountCurrency.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/AmountFiat.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/AmountFiat.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/AmountFiat.test.js +129 -0
- package/dist/src/scalars/graphql/test/AmountFiat.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/AmountMoney.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/AmountMoney.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/AmountMoney.test.js +50 -0
- package/dist/src/scalars/graphql/test/AmountMoney.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/AmountPercentage.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/AmountPercentage.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/AmountPercentage.test.js +50 -0
- package/dist/src/scalars/graphql/test/AmountPercentage.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/AmountTokens.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/AmountTokens.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/AmountTokens.test.js +50 -0
- package/dist/src/scalars/graphql/test/AmountTokens.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/Currency.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/Currency.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/Currency.test.js +35 -0
- package/dist/src/scalars/graphql/test/Currency.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/Date.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/Date.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/Date.test.js +50 -0
- package/dist/src/scalars/graphql/test/Date.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/DateTime.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/DateTime.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/DateTime.test.js +50 -0
- package/dist/src/scalars/graphql/test/DateTime.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/EmailAddress.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/EmailAddress.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/EmailAddress.test.js +50 -0
- package/dist/src/scalars/graphql/test/EmailAddress.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/EthereumAddress.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/EthereumAddress.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/EthereumAddress.test.js +50 -0
- package/dist/src/scalars/graphql/test/EthereumAddress.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/OID.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/OID.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/OID.test.js +35 -0
- package/dist/src/scalars/graphql/test/OID.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/OLabel.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/OLabel.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/OLabel.test.js +35 -0
- package/dist/src/scalars/graphql/test/OLabel.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/PHID.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/PHID.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/PHID.test.js +35 -0
- package/dist/src/scalars/graphql/test/PHID.test.js.map +1 -0
- package/dist/src/scalars/graphql/test/URL.test.d.ts +2 -0
- package/dist/src/scalars/graphql/test/URL.test.d.ts.map +1 -0
- package/dist/src/scalars/graphql/test/URL.test.js +50 -0
- package/dist/src/scalars/graphql/test/URL.test.js.map +1 -0
- package/dist/src/scalars/hooks/useEllipsis.d.ts +1 -1
- package/dist/src/scalars/hooks/useEllipsis.d.ts.map +1 -1
- package/dist/src/scalars/hooks/useEllipsis.js.map +1 -1
- package/dist/src/scalars/lib/deep-equal.test.d.ts +2 -0
- package/dist/src/scalars/lib/deep-equal.test.d.ts.map +1 -0
- package/dist/src/scalars/lib/deep-equal.test.js +70 -0
- package/dist/src/scalars/lib/deep-equal.test.js.map +1 -0
- package/dist/src/scalars/lib/is-empty.test.d.ts +2 -0
- package/dist/src/scalars/lib/is-empty.test.d.ts.map +1 -0
- package/dist/src/scalars/lib/is-empty.test.js +87 -0
- package/dist/src/scalars/lib/is-empty.test.js.map +1 -0
- package/dist/src/table/components/cells/render-cell/render-cell.d.ts.map +1 -1
- package/dist/src/table/components/cells/render-cell/render-cell.js +3 -13
- package/dist/src/table/components/cells/render-cell/render-cell.js.map +1 -1
- package/dist/src/table/components/cells/render-cell/use-cell-logic.d.ts +10 -4
- package/dist/src/table/components/cells/render-cell/use-cell-logic.d.ts.map +1 -1
- package/dist/src/table/components/cells/render-cell/use-cell-logic.js +21 -1
- package/dist/src/table/components/cells/render-cell/use-cell-logic.js.map +1 -1
- package/dist/src/table/components/default-cell-editors/amount-editor.js.map +1 -1
- package/dist/src/table/components/default-cell-editors/country-editor.d.ts +1 -1
- package/dist/src/table/components/default-cell-editors/country-editor.d.ts.map +1 -1
- package/dist/src/table/components/default-cell-editors/country-editor.js +2 -4
- package/dist/src/table/components/default-cell-editors/country-editor.js.map +1 -1
- package/dist/src/table/components/default-cell-renderers/country-render.d.ts +2 -2
- package/dist/src/table/components/default-cell-renderers/country-render.d.ts.map +1 -1
- package/dist/src/table/components/default-cell-renderers/country-render.js +8 -4
- package/dist/src/table/components/default-cell-renderers/country-render.js.map +1 -1
- package/dist/src/table/components/rows/row-actions.d.ts +1 -1
- package/dist/src/table/components/rows/row-actions.d.ts.map +1 -1
- package/dist/src/table/components/table-focus-trap.d.ts.map +1 -1
- package/dist/src/table/components/table-focus-trap.js +10 -0
- package/dist/src/table/components/table-focus-trap.js.map +1 -1
- package/dist/src/table/components/table-provider/table-provider.d.ts +1 -1
- package/dist/src/table/components/table-provider/table-provider.d.ts.map +1 -1
- package/dist/src/table/components/table-provider/table-provider.js +1 -1
- package/dist/src/table/components/table-provider/table-provider.js.map +1 -1
- package/dist/src/table/components/table-provider/table-reducer.d.ts +1 -1
- package/dist/src/table/components/table-provider/table-reducer.d.ts.map +1 -1
- package/dist/src/table/examples/api-usage/api-usage.stories.d.ts +16 -0
- package/dist/src/table/examples/api-usage/api-usage.stories.d.ts.map +1 -0
- package/dist/src/table/examples/api-usage/api-usage.stories.js +15 -0
- package/dist/src/table/examples/api-usage/api-usage.stories.js.map +1 -0
- package/dist/src/table/examples/column-visibility/column-visibility.stories.d.ts +23 -0
- package/dist/src/table/examples/column-visibility/column-visibility.stories.d.ts.map +1 -0
- package/dist/src/table/examples/column-visibility/column-visibility.stories.js +127 -0
- package/dist/src/table/examples/column-visibility/column-visibility.stories.js.map +1 -0
- package/dist/src/table/examples/computed-columns/computed-columns.stories.d.ts +23 -0
- package/dist/src/table/examples/computed-columns/computed-columns.stories.d.ts.map +1 -0
- package/dist/src/table/examples/computed-columns/computed-columns.stories.js +89 -0
- package/dist/src/table/examples/computed-columns/computed-columns.stories.js.map +1 -0
- package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.d.ts.map +1 -1
- package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.js +1 -0
- package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.js.map +1 -1
- package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.d.ts +23 -0
- package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.d.ts.map +1 -0
- package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.js +332 -0
- package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.js.map +1 -0
- package/dist/src/table/examples/custom-rendering/custom-rendering.stories.d.ts +23 -0
- package/dist/src/table/examples/custom-rendering/custom-rendering.stories.d.ts.map +1 -0
- package/dist/src/table/examples/custom-rendering/custom-rendering.stories.js +112 -0
- package/dist/src/table/examples/custom-rendering/custom-rendering.stories.js.map +1 -0
- package/dist/src/table/examples/events/events.d.ts.map +1 -1
- package/dist/src/table/examples/events/events.js +1 -0
- package/dist/src/table/examples/events/events.js.map +1 -1
- package/dist/src/table/examples/events/events.stories.d.ts +16 -0
- package/dist/src/table/examples/events/events.stories.d.ts.map +1 -0
- package/dist/src/table/examples/events/events.stories.js +15 -0
- package/dist/src/table/examples/events/events.stories.js.map +1 -0
- package/dist/src/table/examples/row-reordering/row-reordering.stories.d.ts +37 -0
- package/dist/src/table/examples/row-reordering/row-reordering.stories.d.ts.map +1 -0
- package/dist/src/table/examples/row-reordering/row-reordering.stories.js +143 -0
- package/dist/src/table/examples/row-reordering/row-reordering.stories.js.map +1 -0
- package/dist/src/table/examples/table-editing/table-editing.d.ts.map +1 -1
- package/dist/src/table/examples/table-editing/table-editing.js +15 -0
- package/dist/src/table/examples/table-editing/table-editing.js.map +1 -1
- package/dist/src/table/examples/table-editing/table-editing.stories.d.ts +43 -0
- package/dist/src/table/examples/table-editing/table-editing.stories.d.ts.map +1 -0
- package/dist/src/table/examples/table-editing/table-editing.stories.js +163 -0
- package/dist/src/table/examples/table-editing/table-editing.stories.js.map +1 -0
- package/dist/src/table/logic/table-api.d.ts +1 -1
- package/dist/src/table/logic/table-api.d.ts.map +1 -1
- package/dist/src/table/logic/table-api.js.map +1 -1
- package/dist/src/table/table/mock-data.d.ts +1 -0
- package/dist/src/table/table/mock-data.d.ts.map +1 -1
- package/dist/src/table/table/mock-data.js +39 -32
- package/dist/src/table/table/mock-data.js.map +1 -1
- package/dist/src/table/table/object-set-table.stories.d.ts +97 -0
- package/dist/src/table/table/object-set-table.stories.d.ts.map +1 -0
- package/dist/src/table/table/object-set-table.stories.js +300 -0
- package/dist/src/table/table/object-set-table.stories.js.map +1 -0
- package/dist/src/table/table/utils.d.ts +1 -1
- package/dist/src/table/table/utils.d.ts.map +1 -1
- package/dist/src/table/table/utils.js.map +1 -1
- package/dist/src/ui/components/button/button.stories.d.ts +32 -0
- package/dist/src/ui/components/button/button.stories.d.ts.map +1 -0
- package/dist/src/ui/components/button/button.stories.js +121 -0
- package/dist/src/ui/components/button/button.stories.js.map +1 -0
- package/dist/src/ui/components/button/button.test.d.ts +2 -0
- package/dist/src/ui/components/button/button.test.d.ts.map +1 -0
- package/dist/src/ui/components/button/button.test.js +71 -0
- package/dist/src/ui/components/button/button.test.js.map +1 -0
- package/dist/src/ui/components/confirm/alert-dialog.test.d.ts +2 -0
- package/dist/src/ui/components/confirm/alert-dialog.test.d.ts.map +1 -0
- package/dist/src/ui/components/confirm/alert-dialog.test.js +20 -0
- package/dist/src/ui/components/confirm/alert-dialog.test.js.map +1 -0
- package/dist/src/ui/components/confirm/confirm.stories.d.ts +37 -0
- package/dist/src/ui/components/confirm/confirm.stories.d.ts.map +1 -0
- package/dist/src/ui/components/confirm/confirm.stories.js +75 -0
- package/dist/src/ui/components/confirm/confirm.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.d.ts +74 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.js +505 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.test.js +191 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +1 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.d.ts +269 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.js +363 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.test.js +98 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.test.js +64 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.js +57 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.d.ts +73 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.js +139 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/index.js +1 -0
- package/dist/src/ui/components/data-entry/checkbox/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.js +1 -1
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.d.ts +33 -0
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.js +194 -0
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.js +173 -0
- package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.d.ts +28 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.js +185 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.js +161 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.d.ts +104 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.js +360 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.test.js +225 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/index.js +1 -0
- package/dist/src/ui/components/data-entry/date-picker/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.d.ts +152 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.js +376 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.js +241 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/utils.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.test.js +38 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/email-input/email-input.stories.d.ts +17 -0
- package/dist/src/ui/components/data-entry/email-input/email-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/email-input/email-input.stories.js +80 -0
- package/dist/src/ui/components/data-entry/email-input/email-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/email-input/index.js +1 -0
- package/dist/src/ui/components/data-entry/email-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.d.ts +31 -0
- package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.js +193 -0
- package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.stories.d.ts +16 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.stories.js +199 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.test.js +114 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/file-input/index.js +1 -0
- package/dist/src/ui/components/data-entry/file-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.d.ts +1 -0
- package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.js.map +1 -1
- package/dist/src/ui/components/data-entry/input/input.stories.d.ts +41 -0
- package/dist/src/ui/components/data-entry/input/input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/input.stories.js +70 -0
- package/dist/src/ui/components/data-entry/input/input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/input/input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/input.test.js +46 -0
- package/dist/src/ui/components/data-entry/input/input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +1 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/number-input/number-input.stories.d.ts +173 -0
- package/dist/src/ui/components/data-entry/number-input/number-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/number-input/number-input.stories.js +249 -0
- package/dist/src/ui/components/data-entry/number-input/number-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/number-input/number-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/number-input/number-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/number-input/number-input.test.js +234 -0
- package/dist/src/ui/components/data-entry/number-input/number-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/number-input/use-number-input.d.ts +1 -1
- package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.d.ts +72 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.js +457 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.test.js +176 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.stories.d.ts +21 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.stories.js +101 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.test.js +92 -0
- package/dist/src/ui/components/data-entry/password-input/password-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.d.ts +72 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.js +486 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.test.js +179 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.d.ts +21 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.js +122 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.js +190 -0
- package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.d.ts +1 -1
- package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js +1 -1
- package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.js +76 -0
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.d.ts +86 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.js +250 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.test.js +136 -0
- package/dist/src/ui/components/data-entry/radio-group/radio-group.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/radio-group/radio.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/radio-group/radio.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/radio-group/radio.test.js +63 -0
- package/dist/src/ui/components/data-entry/radio-group/radio.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/select/content.d.ts +1 -1
- package/dist/src/ui/components/data-entry/select/content.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/select-diff.d.ts +1 -0
- package/dist/src/ui/components/data-entry/select/select-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/select-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/select.stories.d.ts +75 -0
- package/dist/src/ui/components/data-entry/select/select.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/select/select.stories.js +439 -0
- package/dist/src/ui/components/data-entry/select/select.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/select/select.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/select/select.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/select/select.test.js +218 -0
- package/dist/src/ui/components/data-entry/select/select.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/select/use-select.d.ts +1 -1
- package/dist/src/ui/components/data-entry/select/use-select.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/index.js +1 -0
- package/dist/src/ui/components/data-entry/text-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.js +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.stories.d.ts +171 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.stories.js +133 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +2 -3
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.js +10 -10
- package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.stories.d.ts +177 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.stories.js +167 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/index.js +1 -0
- package/dist/src/ui/components/data-entry/time-picker/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +2 -2
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +2 -2
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.d.ts +66 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.js +228 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.test.js +235 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.test.js +149 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.test.js +98 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.test.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.stories.d.ts +68 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.stories.js +131 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.stories.d.ts +34 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.stories.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.stories.js +156 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.stories.js.map +1 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.test.d.ts +2 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.test.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.test.js +72 -0
- package/dist/src/ui/components/data-entry/url-input/url-input.test.js.map +1 -0
- package/dist/src/ui/components/dropdown/dropdown.stories.d.ts +169 -0
- package/dist/src/ui/components/dropdown/dropdown.stories.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/dropdown.stories.js +194 -0
- package/dist/src/ui/components/dropdown/dropdown.stories.js.map +1 -0
- package/dist/src/ui/components/icon/icon.stories.d.ts +16 -0
- package/dist/src/ui/components/icon/icon.stories.d.ts.map +1 -0
- package/dist/src/ui/components/icon/icon.stories.js +37 -0
- package/dist/src/ui/components/icon/icon.stories.js.map +1 -0
- package/dist/src/ui/components/icon/index.js +1 -0
- package/dist/src/ui/components/icon/index.js.map +1 -1
- package/dist/src/ui/components/sidebar/sidebar.stories.d.ts +147 -0
- package/dist/src/ui/components/sidebar/sidebar.stories.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/sidebar.stories.js +420 -0
- package/dist/src/ui/components/sidebar/sidebar.stories.js.map +1 -0
- package/dist/src/ui/components/sidebar/sidebar.test.d.ts +2 -0
- package/dist/src/ui/components/sidebar/sidebar.test.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/sidebar.test.js +357 -0
- package/dist/src/ui/components/sidebar/sidebar.test.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +3 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +1 -1
- package/dist/src/ui/components/tooltip/tooltip.stories.d.ts +11 -0
- package/dist/src/ui/components/tooltip/tooltip.stories.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.stories.js +87 -0
- package/dist/src/ui/components/tooltip/tooltip.stories.js.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.test.d.ts +2 -0
- package/dist/src/ui/components/tooltip/tooltip.test.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.test.js +60 -0
- package/dist/src/ui/components/tooltip/tooltip.test.js.map +1 -0
- package/dist/style.css +15 -13
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/dist/vitest.config.js +16 -0
- package/dist/vitest.config.js.map +1 -0
- package/package.json +90 -88
- package/dist/scripts/create-icon-components.d.ts +0 -2
- package/dist/scripts/create-icon-components.d.ts.map +0 -1
- package/dist/scripts/create-icon-components.js +0 -91
- package/dist/scripts/create-icon-components.js.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from '../../components/icon/index.js';
|
|
3
|
+
import { useCallback, useState } from 'react';
|
|
4
|
+
// @ts-expect-error JSON file
|
|
5
|
+
import mockedTree from './mocked_tree.json';
|
|
6
|
+
import { Sidebar } from './sidebar.js';
|
|
7
|
+
import { SidebarProvider } from './subcomponents/sidebar-provider/index.js';
|
|
8
|
+
import { cn } from '@powerhousedao/document-engineering/scalars/lib/utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* The `Sidebar` component can be used within a page layout to provide a sidebar navigation.
|
|
11
|
+
* It provided a tree structure of nodes that can be used to navigate the application offering customization, search and more.
|
|
12
|
+
*
|
|
13
|
+
* The `Sidebar` component requires a `SidebarProvider` ancestor component to function correctly. The `SidebarProvider` accepts an optional `nodes` prop
|
|
14
|
+
* which defines the navigation tree structure. If `nodes` is not provided to the provider, the `Sidebar` component can accept its own `nodes` prop.
|
|
15
|
+
* If neither source provides nodes, the sidebar will render empty.
|
|
16
|
+
*
|
|
17
|
+
* Usage:
|
|
18
|
+
*
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <SidebarProvider nodes={nodes}>
|
|
21
|
+
* <Sidebar {...sidebarProps} />
|
|
22
|
+
* </SidebarProvider>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* The sidebar nodes are defined as follows:
|
|
26
|
+
*
|
|
27
|
+
* ```tsx
|
|
28
|
+
* type SidebarNode = {
|
|
29
|
+
* id: string;
|
|
30
|
+
* title: string;
|
|
31
|
+
* children: SidebarNode[];
|
|
32
|
+
* icon?: IconName | ReactElement;
|
|
33
|
+
* expandedIcon?: IconName | ReactElement;
|
|
34
|
+
* status?: NodeStatus;
|
|
35
|
+
* };
|
|
36
|
+
* enum NodeStatus {
|
|
37
|
+
* CREATED = "CREATED",
|
|
38
|
+
* MODIFIED = "MODIFIED",
|
|
39
|
+
* REMOVED = "REMOVED",
|
|
40
|
+
* MOVED = "MOVED",
|
|
41
|
+
* DUPLICATED = "DUPLICATED",
|
|
42
|
+
* UNCHANGED = "UNCHANGED", // default status, no need to set it
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* The `icon` and `expandedIcon` properties are optional and can be used to display an icon in the sidebar item.
|
|
47
|
+
* This icons must be one of the [available icons](?path=/docs/powerhouse-iconography--readme)
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* ## Sidebar Events
|
|
51
|
+
*
|
|
52
|
+
* The `Sidebar` component emits the following custom events:
|
|
53
|
+
*
|
|
54
|
+
* - `sidebar:change`: it is triggered when the sidebar item is clicked.
|
|
55
|
+
* - Data: `{ node: SidebarNode }`
|
|
56
|
+
* - `sidebar:resize:start`: it is triggered when the sidebar resize starts at the moment the user clicks down in the resizing handle.
|
|
57
|
+
* - Data: `{ isSidebarOpen: boolean }`
|
|
58
|
+
* - `sidebar:resize:active`: it is triggered when the sidebar is being resized while the user is dragging the resizing handle.
|
|
59
|
+
* It could be triggered multiple times while the user is dragging the resizing handle.
|
|
60
|
+
* - Data: `{ isSidebarOpen: boolean, sidebarWidth: number }`
|
|
61
|
+
* - `sidebar:resize`: it is triggered when the sidebar resize stops at the moment the user releases the resizing handle.
|
|
62
|
+
* - Data: `{ isSidebarOpen: boolean, sidebarWidth: number }`
|
|
63
|
+
* - `sidebar:resize:toggle`: it is triggered when the sidebar is toggled (collapsed or expanded).
|
|
64
|
+
* - Data: `{ isSidebarOpen: boolean }`
|
|
65
|
+
*
|
|
66
|
+
* ### Example of listening to the events
|
|
67
|
+
*
|
|
68
|
+
* ```tsx
|
|
69
|
+
* useEffect(() => {
|
|
70
|
+
* const onResize = (event: Event) => {
|
|
71
|
+
* console.log("sidebar:resize", event);
|
|
72
|
+
* };
|
|
73
|
+
*
|
|
74
|
+
* // you can add the listener directly to the document or add a
|
|
75
|
+
* // `className`, get the sidebar element and add the listener to it.
|
|
76
|
+
* document.addEventListener("sidebar:resize", onResize);
|
|
77
|
+
*
|
|
78
|
+
* return () => {
|
|
79
|
+
* document.removeEventListener("sidebar:resize", onResize);
|
|
80
|
+
* };
|
|
81
|
+
* }, []);
|
|
82
|
+
* ```
|
|
83
|
+
* ## Customization
|
|
84
|
+
* The sidebar can be customized using the `className` prop which accepts a string of Tailwind classes.
|
|
85
|
+
* Each class should follow the format `[&_.sidebar\\_\\_{element}]:{tailwind-classes}`.
|
|
86
|
+
*
|
|
87
|
+
* Base classes available for customization:
|
|
88
|
+
* - .sidebar__container: Main sidebar container
|
|
89
|
+
* - .sidebar__item: Individual sidebar item
|
|
90
|
+
* - .sidebar__item--active: Active sidebar item
|
|
91
|
+
* - .sidebar__item-title: Item title text
|
|
92
|
+
* - .sidebar__item-caret: Expand/collapse caret button
|
|
93
|
+
* - .sidebar__item-caret--no-children: Caret for items without children
|
|
94
|
+
* - .sidebar__item-pin: Pin button for items
|
|
95
|
+
* - .sidebar__item-pin--active: Active pin button
|
|
96
|
+
* - .sidebar__header: Sidebar header container
|
|
97
|
+
* - .sidebar__header-title: Header title text
|
|
98
|
+
* - .sidebar__header-macro-item: Macro item in header
|
|
99
|
+
* - .sidebar__pinning-area: Pinned items area
|
|
100
|
+
*
|
|
101
|
+
* ## Example Usage
|
|
102
|
+
*
|
|
103
|
+
*
|
|
104
|
+
* ```tsx
|
|
105
|
+
* import { Sidebar } from './sidebar'
|
|
106
|
+
*
|
|
107
|
+
* function MyCustomSidebar() {
|
|
108
|
+
* return (
|
|
109
|
+
* <Sidebar
|
|
110
|
+
* className={String.raw`
|
|
111
|
+
* [&_.sidebar\\_\\_item]:bg-blue-500
|
|
112
|
+
* [&_.sidebar\\_\\_item]:text-white
|
|
113
|
+
* [&_.sidebar\\_\\_item--active]:bg-green-500
|
|
114
|
+
* [&_.sidebar\\_\\_item--active]:text-black
|
|
115
|
+
* [&_.sidebar\\_\\_item-caret]:bg-yellow-500
|
|
116
|
+
* [&_.sidebar\\_\\_item-pin]:fill-red-500
|
|
117
|
+
* [&_.sidebar\\_\\_header]:bg-red-500
|
|
118
|
+
* [&_.sidebar\\_\\_header-title]:text-white
|
|
119
|
+
* `}
|
|
120
|
+
* />
|
|
121
|
+
* )
|
|
122
|
+
* }
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
const meta = {
|
|
126
|
+
title: 'Navigation/Sidebar',
|
|
127
|
+
component: Sidebar,
|
|
128
|
+
tags: ['autodocs'],
|
|
129
|
+
decorators: [
|
|
130
|
+
(Story) => (_jsx(SidebarProvider, { nodes: mockedTree, children: _jsx(Story, {}) })),
|
|
131
|
+
],
|
|
132
|
+
parameters: {
|
|
133
|
+
layout: 'fullscreen',
|
|
134
|
+
},
|
|
135
|
+
argTypes: {
|
|
136
|
+
activeNodeId: {
|
|
137
|
+
control: 'text',
|
|
138
|
+
description: 'The id of the node that is currently active.',
|
|
139
|
+
},
|
|
140
|
+
nodes: {
|
|
141
|
+
control: 'object',
|
|
142
|
+
table: {
|
|
143
|
+
readonly: true,
|
|
144
|
+
},
|
|
145
|
+
description: 'The nodes to be displayed in the sidebar. It can be provided through the SidebarProvider to prevent flickering.',
|
|
146
|
+
},
|
|
147
|
+
sidebarTitle: {
|
|
148
|
+
control: 'text',
|
|
149
|
+
description: 'The title of the sidebar.',
|
|
150
|
+
},
|
|
151
|
+
sidebarIcon: {
|
|
152
|
+
control: 'object',
|
|
153
|
+
table: {
|
|
154
|
+
readonly: true,
|
|
155
|
+
},
|
|
156
|
+
description: 'The icon of the sidebar.',
|
|
157
|
+
},
|
|
158
|
+
defaultLevel: {
|
|
159
|
+
control: 'number',
|
|
160
|
+
description: 'The level to be opened by default.',
|
|
161
|
+
table: {
|
|
162
|
+
defaultValue: { summary: '1' },
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
enableMacros: {
|
|
166
|
+
control: 'number',
|
|
167
|
+
description: 'The number of macros to be displayed in the sidebar. Recommended up to 4.',
|
|
168
|
+
table: {
|
|
169
|
+
defaultValue: { summary: '0' },
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
allowPinning: {
|
|
173
|
+
control: 'boolean',
|
|
174
|
+
description: 'Whether the sidebar items can be pinned.',
|
|
175
|
+
table: {
|
|
176
|
+
defaultValue: { summary: 'true' },
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
resizable: {
|
|
180
|
+
control: 'boolean',
|
|
181
|
+
description: 'Whether the sidebar is resizable.',
|
|
182
|
+
table: {
|
|
183
|
+
defaultValue: { summary: 'true' },
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
showSearchBar: {
|
|
187
|
+
control: 'boolean',
|
|
188
|
+
description: 'Whether the sidebar allows searching.',
|
|
189
|
+
table: {
|
|
190
|
+
defaultValue: { summary: 'true' },
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
showStatusFilter: {
|
|
194
|
+
control: 'boolean',
|
|
195
|
+
description: 'Whether the sidebar allows filtering by status.',
|
|
196
|
+
table: {
|
|
197
|
+
defaultValue: { summary: 'false' },
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
extraFooterContent: {
|
|
201
|
+
control: 'object',
|
|
202
|
+
description: 'Additional content to be displayed in the sidebar footer.',
|
|
203
|
+
table: {
|
|
204
|
+
readonly: true,
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
initialWidth: {
|
|
208
|
+
control: 'number',
|
|
209
|
+
description: 'The initial width of the sidebar.',
|
|
210
|
+
table: {
|
|
211
|
+
defaultValue: { summary: '300' },
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
maxWidth: {
|
|
215
|
+
control: 'number',
|
|
216
|
+
description: 'The maximum width of the sidebar.',
|
|
217
|
+
},
|
|
218
|
+
allowCollapsingInactiveNodes: {
|
|
219
|
+
control: 'boolean',
|
|
220
|
+
description: 'Whether to allow collapsing inactive nodes on click.',
|
|
221
|
+
table: {
|
|
222
|
+
defaultValue: { summary: 'false' },
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
handleOnTitleClick: {
|
|
226
|
+
control: false,
|
|
227
|
+
description: 'Callback function triggered when the sidebar title is clicked. Use this to implement custom navigation logic.',
|
|
228
|
+
table: {
|
|
229
|
+
readonly: true,
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
isLoading: {
|
|
233
|
+
control: 'boolean',
|
|
234
|
+
description: 'Whether the sidebar is in a loading state, displaying skeleton items instead of actual content.',
|
|
235
|
+
table: {
|
|
236
|
+
defaultValue: { summary: 'false' },
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
nodeSortType: {
|
|
240
|
+
control: 'select',
|
|
241
|
+
options: ['alphabetical', 'natural'],
|
|
242
|
+
description: 'The type of sorting to apply to all nodes recursively. Can be "alphabetical", "natural" or a custom comparison function. Affects all levels of the tree hierarchy.',
|
|
243
|
+
table: {
|
|
244
|
+
type: { summary: '"alphabetical" | "natural" | ((valueA: string, valueB: string) => -1 | 0 | 1)' },
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
nodeSortOrder: {
|
|
248
|
+
control: 'select',
|
|
249
|
+
options: ['asc', 'desc'],
|
|
250
|
+
description: 'Sort order of nodes (ascending or descending). Only applicable when nodeSortType is defined.',
|
|
251
|
+
table: {
|
|
252
|
+
defaultValue: { summary: '"asc"' },
|
|
253
|
+
type: { summary: '"asc" | "desc"' },
|
|
254
|
+
},
|
|
255
|
+
if: { arg: 'nodeSortType', exists: true },
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
args: {
|
|
259
|
+
sidebarTitle: 'Title Sidebar',
|
|
260
|
+
sidebarIcon: (_jsx("div", { className: "flex items-center justify-center rounded-md bg-gray-900 p-2", children: _jsx(Icon, { name: "M", className: "text-gray-50", size: 16 }) })),
|
|
261
|
+
enableMacros: 4,
|
|
262
|
+
onActiveNodeChange: (node) => {
|
|
263
|
+
console.log('onActiveNodeChange', node);
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
};
|
|
267
|
+
export default meta;
|
|
268
|
+
export const Default = {};
|
|
269
|
+
/**
|
|
270
|
+
* The `Sidebar` component can be used within a page layout to provide a sidebar navigation.
|
|
271
|
+
* It can also be used to display additional content within the sidebar, such as authentication buttons.
|
|
272
|
+
* or any other react component.
|
|
273
|
+
*/
|
|
274
|
+
export const WithinLayoutAndContent = {
|
|
275
|
+
args: {
|
|
276
|
+
showStatusFilter: true,
|
|
277
|
+
},
|
|
278
|
+
render: function WithinLayoutAndContentRender(args) {
|
|
279
|
+
const [activeNode, setActiveNode] = useState('4281ab93-ef4f-4974-988d-7dad149a693d');
|
|
280
|
+
const onActiveNodeChange = useCallback((node) => {
|
|
281
|
+
setActiveNode(node.id);
|
|
282
|
+
}, []);
|
|
283
|
+
return (_jsxs("main", { className: "flex h-svh w-full", children: [_jsx(Sidebar, { className: "sidebar", ...args, onActiveNodeChange: onActiveNodeChange, activeNodeId: activeNode, extraFooterContent: _jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("div", { className: "flex items-baseline gap-2 text-gray-900 dark:text-gray-200", children: [_jsx("div", { children: "Login with" }), _jsx(Icon, { name: "Renown", size: "auto", height: 18, className: "cursor-pointer" })] }), _jsx("div", { className: "text-xs text-gray-500 dark:text-gray-400", children: "Auth integration example within sidebar content" })] }) }), _jsxs("div", { style: { width: 'calc(100% - var(--sidebar-width))' }, className: "flex-1 bg-gray-50 p-4 dark:bg-slate-800", children: [_jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-gray-50", children: "Content Area" }), _jsxs("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: ["Active Node: ", activeNode] })] })] }));
|
|
284
|
+
},
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* Example showing how to use the `handleOnTitleClick` callback to implement custom navigation.
|
|
288
|
+
* This allows developers to make the sidebar title clickable for custom navigation logic.
|
|
289
|
+
*/
|
|
290
|
+
export const WithCustomTitleNavigation = {
|
|
291
|
+
args: {
|
|
292
|
+
showStatusFilter: true,
|
|
293
|
+
},
|
|
294
|
+
render: function WithCustomTitleNavigationRender(args) {
|
|
295
|
+
const [activeNode, setActiveNode] = useState('4281ab93-ef4f-4974-988d-7dad149a693d');
|
|
296
|
+
const [navigationLog, setNavigationLog] = useState([]);
|
|
297
|
+
const onActiveNodeChange = useCallback((node) => {
|
|
298
|
+
setActiveNode(node.id);
|
|
299
|
+
}, []);
|
|
300
|
+
const handleTitleClick = useCallback(() => {
|
|
301
|
+
const timestamp = new Date().toLocaleTimeString();
|
|
302
|
+
setNavigationLog((prev) => [...prev, `Title clicked at ${timestamp} - Navigate to root/home`]);
|
|
303
|
+
}, []);
|
|
304
|
+
return (_jsxs("main", { className: "flex h-svh w-full", children: [_jsx(Sidebar, { className: "sidebar", ...args, onActiveNodeChange: onActiveNodeChange, activeNodeId: activeNode, handleOnTitleClick: handleTitleClick, sidebarTitle: "Click me to go home!" }), _jsxs("div", { style: { width: 'calc(100% - var(--sidebar-width))' }, className: "flex-1 bg-gray-50 p-4 dark:bg-slate-800", children: [_jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-gray-50", children: "Content Area" }), _jsxs("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: ["Active Node: ", activeNode] }), _jsxs("div", { className: "mt-4", children: [_jsx("h2", { className: "text-lg font-semibold text-gray-900 dark:text-gray-50", children: "Navigation Log:" }), _jsx("div", { className: "mt-2 overflow-y-auto rounded border p-2 bg-white dark:bg-slate-700", children: navigationLog.length === 0 ? (_jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: "Click the sidebar title to see navigation events" })) : (_jsx("ul", { className: "text-sm text-gray-700 dark:text-gray-300", children: navigationLog.map((log, index) => (_jsx("li", { className: "py-1", children: log }, index))) })) })] })] })] }));
|
|
305
|
+
},
|
|
306
|
+
};
|
|
307
|
+
export const WithCustomStyles = {
|
|
308
|
+
args: {
|
|
309
|
+
showStatusFilter: true,
|
|
310
|
+
},
|
|
311
|
+
render: function WithCustomTitleNavigationRender(args) {
|
|
312
|
+
const [activeNode, setActiveNode] = useState('4281ab93-ef4f-4974-988d-7dad149a693d');
|
|
313
|
+
const [navigationLog, setNavigationLog] = useState([]);
|
|
314
|
+
const onActiveNodeChange = useCallback((node) => {
|
|
315
|
+
setActiveNode(node.id);
|
|
316
|
+
}, []);
|
|
317
|
+
const handleTitleClick = useCallback(() => {
|
|
318
|
+
const timestamp = new Date().toLocaleTimeString();
|
|
319
|
+
setNavigationLog((prev) => [...prev, `Title clicked at ${timestamp} - Navigate to root/home`]);
|
|
320
|
+
}, []);
|
|
321
|
+
return (_jsxs("main", { className: "flex h-svh w-full", children: [_jsx(Sidebar, { className: cn('sidebar', String.raw `
|
|
322
|
+
[&_.sidebar\\_\\_item]:bg-blue-50
|
|
323
|
+
[&_.sidebar\\_\\_item]:border-blue-200
|
|
324
|
+
[&_.sidebar\\_\\_item]:text-blue-800
|
|
325
|
+
[&_.sidebar\\_\\_item--active]:bg-emerald-50
|
|
326
|
+
[&_.sidebar\\_\\_item--active]:border-emerald-300
|
|
327
|
+
[&_.sidebar\\_\\_item--active]:text-emerald-800
|
|
328
|
+
[&_.sidebar\\_\\_item-caret]:bg-amber-50
|
|
329
|
+
[&_.sidebar\\_\\_item-caret]:border-amber-200
|
|
330
|
+
[&_.sidebar\\_\\_item-caret]:text-amber-700
|
|
331
|
+
[&_.sidebar\\_\\_item-title]:text-slate-900
|
|
332
|
+
|
|
333
|
+
[&_.sidebar\\_\\_item-pin]:fill-rose-500
|
|
334
|
+
[&_.sidebar\\_\\_item-pin]:text-rose-600
|
|
335
|
+
[&_.sidebar\\_\\_item-pin--active]:fill-emerald-500
|
|
336
|
+
[&_.sidebar\\_\\_item-pin--active]:text-emerald-600
|
|
337
|
+
[&_.sidebar\\_\\_item-caret--no-children]:text-slate-400 dark:text-slate-500
|
|
338
|
+
[&_.sidebar\\_\\_header]:bg-slate-100
|
|
339
|
+
[&_.sidebar\\_\\_header]:text-slate-800
|
|
340
|
+
[&_.sidebar\\_\\_header-title]:text-slate-900
|
|
341
|
+
[&_.sidebar\\_\\_header-macro-item]:bg-indigo-50
|
|
342
|
+
[&_.sidebar\\_\\_header-macro-item]:text-indigo-800
|
|
343
|
+
[&_.sidebar\\_\\_pinning-area]:bg-amber-50
|
|
344
|
+
[&_.sidebar\\_\\_pinning-area]:text-amber-800
|
|
345
|
+
`), ...args, onActiveNodeChange: onActiveNodeChange, activeNodeId: activeNode, handleOnTitleClick: handleTitleClick, sidebarTitle: "Click me to go home!" }), _jsxs("div", { style: { width: 'calc(100% - var(--sidebar-width))' }, className: "flex-1 bg-gray-50 p-4 dark:bg-slate-800", children: [_jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-gray-50", children: "Content Area" }), _jsxs("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: ["Active Node: ", activeNode] }), _jsxs("div", { className: "mt-4", children: [_jsx("h2", { className: "text-lg font-semibold text-gray-900 dark:text-gray-50", children: "Navigation Log:" }), _jsx("div", { className: "mt-2 overflow-y-auto rounded border p-2 bg-white dark:bg-slate-700", children: navigationLog.length === 0 ? (_jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: "Click the sidebar title to see navigation events" })) : (_jsx("ul", { className: "text-sm text-gray-700 dark:text-gray-300", children: navigationLog.map((log, index) => (_jsx("li", { className: "py-1", children: log }, index))) })) })] })] })] }));
|
|
346
|
+
},
|
|
347
|
+
};
|
|
348
|
+
export const WithCustomTargetElement = {
|
|
349
|
+
args: {
|
|
350
|
+
showStatusFilter: true,
|
|
351
|
+
},
|
|
352
|
+
render: function WithCustomTitleNavigationRender(args) {
|
|
353
|
+
const [activeNode, setActiveNode] = useState('4281ab93-ef4f-4974-988d-7dad149a693d');
|
|
354
|
+
const [navigationLog, setNavigationLog] = useState([]);
|
|
355
|
+
const onActiveNodeChange = useCallback((node) => {
|
|
356
|
+
setActiveNode(node.id);
|
|
357
|
+
}, []);
|
|
358
|
+
const handleTitleClick = useCallback(() => {
|
|
359
|
+
const timestamp = new Date().toLocaleTimeString();
|
|
360
|
+
setNavigationLog((prev) => [...prev, `Title clicked at ${timestamp} - Navigate to root/home`]);
|
|
361
|
+
}, []);
|
|
362
|
+
const stylesToApply = {
|
|
363
|
+
'4281ab93-ef4f-4974-988d-7dad149a693d': 'bg-red-900 text-white hover:!bg-red-800',
|
|
364
|
+
'f85e197f-9fd7-48ed-abe9-5d2c1b22475a': 'bg-blue-900 text-white hover:!bg-blue-800',
|
|
365
|
+
'c4be9c5e-520d-4e9c-b29e-3adcc8071452': 'bg-purple-900 text-white hover:!bg-purple-800',
|
|
366
|
+
'eca5e587-79e3-480b-b70d-dd25697c9e1f': 'bg-green-900 text-white hover:!bg-green-800',
|
|
367
|
+
};
|
|
368
|
+
const applyStylesRecursively = (node) => {
|
|
369
|
+
return {
|
|
370
|
+
...node,
|
|
371
|
+
className: stylesToApply[node.id] || node.className,
|
|
372
|
+
children: node.children?.map(applyStylesRecursively),
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
const nodes = mockedTree.map(applyStylesRecursively);
|
|
376
|
+
return (_jsxs("main", { className: "flex h-svh w-full", children: [_jsx(Sidebar, { nodes: nodes, className: "sidebar", ...args, onActiveNodeChange: onActiveNodeChange, activeNodeId: activeNode, handleOnTitleClick: handleTitleClick, sidebarTitle: "Click me to go home!" }), _jsxs("div", { style: { width: 'calc(100% - var(--sidebar-width))' }, className: "flex-1 bg-gray-50 p-4 dark:bg-slate-800", children: [_jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-gray-50", children: "Content Area" }), _jsxs("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: ["Active Node: ", activeNode] }), _jsxs("div", { className: "mt-4", children: [_jsx("h2", { className: "text-lg font-semibold text-gray-900 dark:text-gray-50", children: "Navigation Log:" }), _jsx("div", { className: "mt-2 overflow-y-auto rounded border p-2 bg-white dark:bg-slate-700", children: navigationLog.length === 0 ? (_jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: "Click the sidebar title to see navigation events" })) : (_jsx("ul", { className: "text-sm text-gray-700 dark:text-gray-300", children: navigationLog.map((log, index) => (_jsx("li", { className: "py-1", children: log }, index))) })) })] })] })] }));
|
|
377
|
+
},
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* Demonstrates the loading state of the sidebar when data is being fetched.
|
|
381
|
+
* The sidebar displays skeleton items with animated placeholders while preserving
|
|
382
|
+
* all other functionality like header, search bar, and footer content.
|
|
383
|
+
*/
|
|
384
|
+
export const Loading = {
|
|
385
|
+
args: {
|
|
386
|
+
isLoading: true,
|
|
387
|
+
showStatusFilter: true,
|
|
388
|
+
},
|
|
389
|
+
render: function LoadingRender(args) {
|
|
390
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
391
|
+
return (_jsxs("main", { className: "flex h-svh w-full", children: [_jsx(Sidebar, { className: "sidebar", ...args, isLoading: isLoading }), _jsxs("div", { style: { width: 'calc(100% - var(--sidebar-width))' }, className: "flex-1 bg-gray-50 p-4 dark:bg-slate-800", children: [_jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-gray-50", children: "Content Area" }), _jsxs("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: ["Sidebar Status: ", isLoading ? 'Loading...' : 'Ready'] }), _jsx("div", { className: "mt-4", children: _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx("button", { type: "button", onClick: () => {
|
|
392
|
+
setIsLoading(!isLoading);
|
|
393
|
+
}, className: "rounded bg-blue-500 px-3 py-1 text-sm text-white hover:bg-blue-600", children: isLoading ? 'Stop Loading' : 'Start Loading' }), _jsx("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: "Toggle loading state to see the skeleton animation" })] }) })] })] }));
|
|
394
|
+
},
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Demonstrates how to use a custom sorting function for nodes.
|
|
398
|
+
* This example shows sorting by string length (shorter titles first) then alphabetically if lengths are equal.
|
|
399
|
+
*/
|
|
400
|
+
export const WithCustomSorting = {
|
|
401
|
+
args: {
|
|
402
|
+
defaultLevel: 2,
|
|
403
|
+
},
|
|
404
|
+
render: function WithCustomSortingRender(args) {
|
|
405
|
+
// Custom sorting function that sorts by title length first, then alphabetically
|
|
406
|
+
const customSortFunction = useCallback((valueA, valueB) => {
|
|
407
|
+
const lengthComparison = valueA.length - valueB.length;
|
|
408
|
+
if (lengthComparison !== 0) {
|
|
409
|
+
return lengthComparison < 0 ? -1 : 1;
|
|
410
|
+
}
|
|
411
|
+
// If lengths are equal, sort alphabetically
|
|
412
|
+
const alphabetical = valueA.toLowerCase().localeCompare(valueB.toLowerCase());
|
|
413
|
+
return alphabetical < 0 ? -1 : alphabetical > 0 ? 1 : 0;
|
|
414
|
+
}, []);
|
|
415
|
+
return (_jsxs("main", { className: "flex h-svh w-full", children: [_jsx(Sidebar, { className: "sidebar", ...args, nodeSortType: args.nodeSortType ?? customSortFunction }), _jsxs("div", { style: { width: 'calc(100% - var(--sidebar-width))' }, className: "flex-1 bg-gray-50 p-4 dark:bg-slate-800", children: [_jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-gray-50", children: "Custom Sorting" }), _jsxs("div", { className: "mt-4 space-y-2 text-sm text-gray-600 dark:text-gray-400", children: [_jsxs("p", { children: [_jsx("strong", { children: "nodeSortType:" }), ' ', args.nodeSortType === undefined
|
|
416
|
+
? 'Custom Function (sorts in ascending order by string length, then alphabetically if lengths are equal)'
|
|
417
|
+
: args.nodeSortType.toString()] }), _jsxs("p", { children: [_jsx("strong", { children: "nodeSortOrder:" }), " ", args.nodeSortOrder ?? 'asc'] })] })] })] }));
|
|
418
|
+
},
|
|
419
|
+
};
|
|
420
|
+
//# sourceMappingURL=sidebar.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.stories.js","sourceRoot":"","sources":["../../../../../src/ui/components/sidebar/sidebar.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAA;AAErD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC7C,6BAA6B;AAC7B,OAAO,UAAU,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAE3E,OAAO,EAAE,EAAE,EAAE,MAAM,0DAA0D,CAAA;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmHG;AAEH,MAAM,IAAI,GAAyB;IACjC,KAAK,EAAE,oBAAoB;IAC3B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,CACT,KAAC,eAAe,IAAC,KAAK,EAAE,UAA2B,YACjD,KAAC,KAAK,KAAG,GACO,CACnB;KACF;IACD,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;IACD,Q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