@flightlesslabs/dodo-ui 0.19.1 → 1.0.0--beta-2
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/README.md +12 -0
- package/dist/{stories/Home.mdx → Home.mdx} +7 -20
- package/dist/attributes/color.d.ts +11 -0
- package/dist/attributes/color.js +13 -0
- package/dist/attributes/roundness.d.ts +12 -0
- package/dist/attributes/roundness.js +9 -0
- package/dist/attributes/size.d.ts +6 -0
- package/dist/attributes/size.js +5 -0
- package/dist/attributes/variant.d.ts +6 -0
- package/dist/attributes/variant.js +5 -0
- package/dist/components/Form/Button/Button.scss +164 -0
- package/dist/components/Form/Button/Button.stories.svelte +148 -0
- package/dist/{stories/components → components}/Form/Button/Button.stories.svelte.d.ts +3 -2
- package/dist/components/Form/Button/Button.svelte +53 -0
- package/dist/components/Form/Button/Button.svelte.d.ts +76 -0
- package/dist/components/Form/InputEnclosure/InputAffix.svelte +21 -0
- package/dist/components/Form/InputEnclosure/InputAffix.svelte.d.ts +26 -0
- package/dist/components/Form/InputEnclosure/InputEnclosure.scss +105 -0
- package/dist/components/Form/InputEnclosure/InputEnclosure.stories.svelte +126 -0
- package/dist/{stories/developer tools/components/InputEnclosure/InputEnclosure.stories.svelte.d.ts → components/Form/InputEnclosure/InputEnclosure.stories.svelte.d.ts} +3 -2
- package/dist/components/Form/InputEnclosure/InputEnclosure.svelte +42 -0
- package/dist/components/Form/InputEnclosure/InputEnclosure.svelte.d.ts +64 -0
- package/dist/components/Form/TextInput/TextInput.scss +34 -0
- package/dist/components/Form/TextInput/TextInput.stories.svelte +148 -0
- package/dist/{stories/components → components}/Form/TextInput/TextInput.stories.svelte.d.ts +3 -2
- package/dist/components/Form/TextInput/TextInput.svelte +44 -0
- package/dist/components/Form/TextInput/TextInput.svelte.d.ts +67 -0
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Form/index.js +3 -0
- package/dist/index.d.ts +15 -128
- package/dist/index.js +15 -77
- package/dist/styles/scss/mixins/_button-color.scss +140 -0
- package/package.json +38 -38
- package/src/lib/Home.mdx +59 -0
- package/src/lib/attributes/color.ts +19 -0
- package/src/lib/attributes/roundness.ts +14 -0
- package/src/lib/attributes/size.ts +8 -0
- package/src/lib/attributes/variant.ts +8 -0
- package/src/lib/components/Form/Button/Button.scss +164 -0
- package/src/lib/components/Form/Button/Button.stories.svelte +156 -0
- package/src/lib/components/Form/Button/Button.svelte +165 -0
- package/src/lib/components/Form/InputEnclosure/InputAffix.svelte +52 -0
- package/src/lib/components/Form/InputEnclosure/InputEnclosure.scss +105 -0
- package/src/lib/components/Form/InputEnclosure/InputEnclosure.stories.svelte +136 -0
- package/src/lib/components/Form/InputEnclosure/InputEnclosure.svelte +132 -0
- package/src/lib/components/Form/TextInput/TextInput.scss +34 -0
- package/src/lib/components/Form/TextInput/TextInput.stories.svelte +159 -0
- package/src/lib/components/Form/TextInput/TextInput.svelte +141 -0
- package/src/lib/components/Form/index.ts +18 -0
- package/src/lib/index.ts +22 -231
- package/src/lib/styles/scss/mixins/_button-color.scss +140 -0
- package/dist/stories/assets/dark-theme-toggle.png +0 -0
- package/dist/stories/components/Form/Button/Button.stories.svelte +0 -57
- package/dist/stories/components/Form/Button/Button.svelte +0 -500
- package/dist/stories/components/Form/Button/Button.svelte.d.ts +0 -74
- package/dist/stories/components/Form/Button/Color/Color.stories.svelte +0 -43
- package/dist/stories/components/Form/Button/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Button/Events/Events.stories.svelte +0 -34
- package/dist/stories/components/Form/Button/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Button/IconButton/IconButton.stories.svelte +0 -43
- package/dist/stories/components/Form/Button/IconButton/IconButton.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Button/Roundness/Roundness.stories.svelte +0 -23
- package/dist/stories/components/Form/Button/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Button/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Form/Button/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Button/Variant/Variant.stories.svelte +0 -18
- package/dist/stories/components/Form/Button/Variant/Variant.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Button/utils/scss/mixins.scss +0 -86
- package/dist/stories/components/Form/Checkbox/Checkbox.stories.svelte +0 -39
- package/dist/stories/components/Form/Checkbox/Checkbox.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/Checkbox/Checkbox.svelte +0 -452
- package/dist/stories/components/Form/Checkbox/Checkbox.svelte.d.ts +0 -42
- package/dist/stories/components/Form/Checkbox/Color/Color.stories.svelte +0 -19
- package/dist/stories/components/Form/Checkbox/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Checkbox/Customize/Customize.stories.svelte +0 -27
- package/dist/stories/components/Form/Checkbox/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Checkbox/Events/Events.stories.svelte +0 -35
- package/dist/stories/components/Form/Checkbox/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Checkbox/Roundness/Roundness.stories.svelte +0 -22
- package/dist/stories/components/Form/Checkbox/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Checkbox/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Form/Checkbox/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Checkbox/utils/scss/mixins.scss +0 -80
- package/dist/stories/components/Form/DatePicker/Color/Color.stories.svelte +0 -44
- package/dist/stories/components/Form/DatePicker/Color/Color.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/Controls/Controls.stories.svelte +0 -55
- package/dist/stories/components/Form/DatePicker/Controls/Controls.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/Customize/Customize.stories.svelte +0 -164
- package/dist/stories/components/Form/DatePicker/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/DatePicker.stories.svelte +0 -102
- package/dist/stories/components/Form/DatePicker/DatePicker.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/DatePicker/DatePicker.svelte +0 -298
- package/dist/stories/components/Form/DatePicker/DatePicker.svelte.d.ts +0 -217
- package/dist/stories/components/Form/DatePicker/Events/Events.stories.svelte +0 -139
- package/dist/stories/components/Form/DatePicker/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/FilterDates/FilterDates.stories.svelte +0 -58
- package/dist/stories/components/Form/DatePicker/FilterDates/FilterDates.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/Positions/AutoPosition/AutoPosition.stories.svelte +0 -43
- package/dist/stories/components/Form/DatePicker/Positions/AutoPosition/AutoPosition.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/Positions/Positions.stories.svelte +0 -54
- package/dist/stories/components/Form/DatePicker/Positions/Positions.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/Roundness/Roundness.stories.svelte +0 -35
- package/dist/stories/components/Form/DatePicker/Roundness/Roundness.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/Size/Size.stories.svelte +0 -38
- package/dist/stories/components/Form/DatePicker/Size/Size.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/DatePicker/WithIcon/WithIcon.stories.svelte +0 -38
- package/dist/stories/components/Form/DatePicker/WithIcon/WithIcon.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/FormControl/FormControl.stories.svelte +0 -26
- package/dist/stories/components/Form/FormControl/FormControl.stories.svelte.d.ts +0 -19
- package/dist/stories/components/Form/FormControl/FormControl.svelte +0 -32
- package/dist/stories/components/Form/FormControl/FormControl.svelte.d.ts +0 -20
- package/dist/stories/components/Form/Label/Label.stories.svelte +0 -11
- package/dist/stories/components/Form/Label/Label.stories.svelte.d.ts +0 -19
- package/dist/stories/components/Form/Label/Label.svelte +0 -20
- package/dist/stories/components/Form/Label/Label.svelte.d.ts +0 -16
- package/dist/stories/components/Form/Message/Color/Color.stories.svelte +0 -36
- package/dist/stories/components/Form/Message/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Message/Message.stories.svelte +0 -23
- package/dist/stories/components/Form/Message/Message.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/Message/Message.svelte +0 -48
- package/dist/stories/components/Form/Message/Message.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Message/Size/Size.stories.svelte +0 -22
- package/dist/stories/components/Form/Message/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/NumericInput/Events/Events.stories.svelte +0 -126
- package/dist/stories/components/Form/NumericInput/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/NumericInput/NumericInput.stories.svelte +0 -79
- package/dist/stories/components/Form/NumericInput/NumericInput.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/NumericInput/NumericInput.svelte +0 -162
- package/dist/stories/components/Form/NumericInput/NumericInput.svelte.d.ts +0 -69
- package/dist/stories/components/Form/NumericInput/Roundness/Roundness.stories.svelte +0 -20
- package/dist/stories/components/Form/NumericInput/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/NumericInput/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Form/NumericInput/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/NumericInput/Validation/Validation.stories.svelte +0 -84
- package/dist/stories/components/Form/NumericInput/Validation/Validation.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/NumericInput/WithIcon/WithIcon.stories.svelte +0 -31
- package/dist/stories/components/Form/NumericInput/WithIcon/WithIcon.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/PasswordInput/Events/Events.stories.svelte +0 -125
- package/dist/stories/components/Form/PasswordInput/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/PasswordInput/PasswordInput.stories.svelte +0 -54
- package/dist/stories/components/Form/PasswordInput/PasswordInput.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/PasswordInput/PasswordInput.svelte +0 -100
- package/dist/stories/components/Form/PasswordInput/PasswordInput.svelte.d.ts +0 -69
- package/dist/stories/components/Form/PasswordInput/Roundness/Roundness.stories.svelte +0 -20
- package/dist/stories/components/Form/PasswordInput/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/PasswordInput/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Form/PasswordInput/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/PasswordInput/WithIcon/WithIcon.stories.svelte +0 -31
- package/dist/stories/components/Form/PasswordInput/WithIcon/WithIcon.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Radio/Color/Color.stories.svelte +0 -19
- package/dist/stories/components/Form/Radio/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Radio/Events/Events.stories.svelte +0 -32
- package/dist/stories/components/Form/Radio/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Radio/Radio.stories.svelte +0 -39
- package/dist/stories/components/Form/Radio/Radio.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/Radio/Radio.svelte +0 -412
- package/dist/stories/components/Form/Radio/Radio.svelte.d.ts +0 -36
- package/dist/stories/components/Form/Radio/Roundness/Roundness.stories.svelte +0 -22
- package/dist/stories/components/Form/Radio/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Radio/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Form/Radio/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Radio/utils/scss/mixins.scss +0 -85
- package/dist/stories/components/Form/RangeSlider/Color/Color.stories.svelte +0 -19
- package/dist/stories/components/Form/RangeSlider/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/RangeSlider/Events/Events.stories.svelte +0 -59
- package/dist/stories/components/Form/RangeSlider/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/RangeSlider/RangeSlider.stories.svelte +0 -64
- package/dist/stories/components/Form/RangeSlider/RangeSlider.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/RangeSlider/RangeSlider.svelte +0 -538
- package/dist/stories/components/Form/RangeSlider/RangeSlider.svelte.d.ts +0 -48
- package/dist/stories/components/Form/RangeSlider/Roundness/Roundness.stories.svelte +0 -30
- package/dist/stories/components/Form/RangeSlider/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/RangeSlider/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Form/RangeSlider/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/RangeSlider/WithIcon/WithIcon.stories.svelte +0 -30
- package/dist/stories/components/Form/RangeSlider/WithIcon/WithIcon.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/RangeSlider/utils/scss/mixins.scss +0 -91
- package/dist/stories/components/Form/Search/Events/Events.stories.svelte +0 -137
- package/dist/stories/components/Form/Search/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Search/Roundness/Roundness.stories.svelte +0 -21
- package/dist/stories/components/Form/Search/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Search/Search.stories.svelte +0 -40
- package/dist/stories/components/Form/Search/Search.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/Search/Search.svelte +0 -142
- package/dist/stories/components/Form/Search/Search.svelte.d.ts +0 -66
- package/dist/stories/components/Form/Search/SearchIcon/SearchIcon.stories.svelte +0 -27
- package/dist/stories/components/Form/Search/SearchIcon/SearchIcon.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Search/Size/Size.stories.svelte +0 -17
- package/dist/stories/components/Form/Search/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Search/WithIcon/WithIcon.stories.svelte +0 -47
- package/dist/stories/components/Form/Search/WithIcon/WithIcon.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Select/Customize/Customize.stories.svelte +0 -135
- package/dist/stories/components/Form/Select/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Select/DropDownArrow/DropDownArrow.stories.svelte +0 -59
- package/dist/stories/components/Form/Select/DropDownArrow/DropDownArrow.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Select/Events/Events.stories.svelte +0 -165
- package/dist/stories/components/Form/Select/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Select/Options/OptionFormat.mdx +0 -40
- package/dist/stories/components/Form/Select/Positions/AutoPosition/AutoPosition.stories.svelte +0 -54
- package/dist/stories/components/Form/Select/Positions/AutoPosition/AutoPosition.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Select/Positions/Positions.stories.svelte +0 -83
- package/dist/stories/components/Form/Select/Positions/Positions.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Select/Roundness/Roundness.stories.svelte +0 -28
- package/dist/stories/components/Form/Select/Roundness/Roundness.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Select/Select.stories.svelte +0 -118
- package/dist/stories/components/Form/Select/Select.stories.svelte.d.ts +0 -22
- package/dist/stories/components/Form/Select/Select.svelte +0 -272
- package/dist/stories/components/Form/Select/Select.svelte.d.ts +0 -108
- package/dist/stories/components/Form/Select/Size/Size.stories.svelte +0 -24
- package/dist/stories/components/Form/Select/Size/Size.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Select/WithIcon/WithIcon.stories.svelte +0 -39
- package/dist/stories/components/Form/Select/WithIcon/WithIcon.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/TextInput/Events/Events.stories.svelte +0 -119
- package/dist/stories/components/Form/TextInput/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/TextInput/Roundness/Roundness.stories.svelte +0 -21
- package/dist/stories/components/Form/TextInput/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/TextInput/Size/Size.stories.svelte +0 -17
- package/dist/stories/components/Form/TextInput/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/TextInput/TextInput.stories.svelte +0 -39
- package/dist/stories/components/Form/TextInput/TextInput.svelte +0 -61
- package/dist/stories/components/Form/TextInput/TextInput.svelte.d.ts +0 -73
- package/dist/stories/components/Form/TextInput/WithIcon/WithIcon.stories.svelte +0 -47
- package/dist/stories/components/Form/TextInput/WithIcon/WithIcon.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Toggle/Color/Color.stories.svelte +0 -19
- package/dist/stories/components/Form/Toggle/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Toggle/Events/Events.stories.svelte +0 -35
- package/dist/stories/components/Form/Toggle/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Form/Toggle/Roundness/Roundness.stories.svelte +0 -22
- package/dist/stories/components/Form/Toggle/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Toggle/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Form/Toggle/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Form/Toggle/Toggle.stories.svelte +0 -37
- package/dist/stories/components/Form/Toggle/Toggle.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Form/Toggle/Toggle.svelte +0 -359
- package/dist/stories/components/Form/Toggle/Toggle.svelte.d.ts +0 -36
- package/dist/stories/components/Form/Toggle/utils/scss/mixins.scss +0 -68
- package/dist/stories/components/Info/Calendar/Calendar.stories.svelte +0 -115
- package/dist/stories/components/Info/Calendar/Calendar.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/Calendar.svelte +0 -205
- package/dist/stories/components/Info/Calendar/Calendar.svelte.d.ts +0 -143
- package/dist/stories/components/Info/Calendar/Color/Color.stories.svelte +0 -23
- package/dist/stories/components/Info/Calendar/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/Controls/Controls.stories.svelte +0 -26
- package/dist/stories/components/Info/Calendar/Controls/Controls.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/Customize/Customize.stories.svelte +0 -158
- package/dist/stories/components/Info/Calendar/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/Events/Events.stories.svelte +0 -117
- package/dist/stories/components/Info/Calendar/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/FilterDates/FilterDates.stories.svelte +0 -67
- package/dist/stories/components/Info/Calendar/FilterDates/FilterDates.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/Size/Size.stories.svelte +0 -20
- package/dist/stories/components/Info/Calendar/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarControls.stories.svelte +0 -31
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarControls.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarControls.svelte +0 -143
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarControls.svelte.d.ts +0 -72
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/CalendarMonthSelector.stories.svelte +0 -53
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/CalendarMonthSelector.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/CalendarMonthSelector.svelte +0 -93
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/CalendarMonthSelector.svelte.d.ts +0 -49
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Color/Color.stories.svelte +0 -23
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Customize/Customize.stories.svelte +0 -28
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Events/Events.stories.svelte +0 -22
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/NameTypes/NameTypes.stories.svelte +0 -23
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/NameTypes/NameTypes.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Roundness/Roundness.stories.svelte +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Size/Size.stories.svelte +0 -20
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/CalendarNavigation.stories.svelte +0 -32
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/CalendarNavigation.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/CalendarNavigation.svelte +0 -65
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/CalendarNavigation.svelte.d.ts +0 -38
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Color/Color.stories.svelte +0 -19
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Customize/Customize.stories.svelte +0 -31
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Events/Events.stories.svelte +0 -34
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/NavigationButton.svelte +0 -38
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/NavigationButton.svelte.d.ts +0 -32
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/CalendarYearSelector.stories.svelte +0 -53
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/CalendarYearSelector.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/CalendarYearSelector.svelte +0 -71
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/CalendarYearSelector.svelte.d.ts +0 -38
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Color/Color.stories.svelte +0 -23
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Customize/Customize.stories.svelte +0 -28
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Events/Events.stories.svelte +0 -22
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Roundness/Roundness.stories.svelte +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Size/Size.stories.svelte +0 -20
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Color/Color.stories.svelte +0 -23
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Controls/Controls.stories.svelte +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Controls/Controls.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Customize/Customize.stories.svelte +0 -67
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Events/Events.stories.svelte +0 -58
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Size/Size.stories.svelte +0 -20
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarControls/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/CalendarDateChip.stories.svelte +0 -71
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/CalendarDateChip.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/CalendarDateChip.svelte +0 -570
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/CalendarDateChip.svelte.d.ts +0 -43
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Color/Color.stories.svelte +0 -41
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Customize/Customize.stories.svelte +0 -43
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Events/Events.stories.svelte +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Roundness/Roundness.stories.svelte +0 -31
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Size/Size.stories.svelte +0 -24
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/SpecialChips/SpecialChips.stories.svelte +0 -96
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/SpecialChips/SpecialChips.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/utils/scss/mixins.scss +0 -107
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDatesChart.stories.svelte +0 -99
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDatesChart.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDatesChart.svelte +0 -109
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDatesChart.svelte.d.ts +0 -69
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/CalendarWeek.stories.svelte +0 -34
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/CalendarWeek.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/CalendarWeek.svelte +0 -100
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/CalendarWeek.svelte.d.ts +0 -35
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/Customize/Customize.stories.svelte +0 -30
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/NameTypes/NameTypes.stories.svelte +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/NameTypes/NameTypes.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/WeekDay.svelte +0 -50
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/WeekDay.svelte.d.ts +0 -20
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Color/Color.stories.svelte +0 -23
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Customize/Customize.stories.svelte +0 -66
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Events/Events.stories.svelte +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Size/Size.stories.svelte +0 -20
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/CalendarMonthChip.stories.svelte +0 -36
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/CalendarMonthChip.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/CalendarMonthChip.svelte +0 -457
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/CalendarMonthChip.svelte.d.ts +0 -33
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Color/Color.stories.svelte +0 -29
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Customize/Customize.stories.svelte +0 -31
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Events/Events.stories.svelte +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Roundness/Roundness.stories.svelte +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Size/Size.stories.svelte +0 -19
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/utils/scss/mixins.scss +0 -91
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthList.stories.svelte +0 -41
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthList.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthList.svelte +0 -64
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthList.svelte.d.ts +0 -35
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Color/Color.stories.svelte +0 -22
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Customize/Customize.stories.svelte +0 -34
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Events/Events.stories.svelte +0 -29
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Size/Size.stories.svelte +0 -19
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarMonthList/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/CalendarYearChip.stories.svelte +0 -37
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/CalendarYearChip.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/CalendarYearChip.svelte +0 -441
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/CalendarYearChip.svelte.d.ts +0 -32
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Color/Color.stories.svelte +0 -30
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Customize/Customize.stories.svelte +0 -31
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Events/Events.stories.svelte +0 -22
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Roundness/Roundness.stories.svelte +0 -27
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Size/Size.stories.svelte +0 -20
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/utils/scss/mixins.scss +0 -87
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearList.stories.svelte +0 -35
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearList.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearList.svelte +0 -83
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearList.svelte.d.ts +0 -36
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Color/Color.stories.svelte +0 -23
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Customize/Customize.stories.svelte +0 -34
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Events/Events.stories.svelte +0 -21
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Size/Size.stories.svelte +0 -20
- package/dist/stories/components/Info/Calendar/SubComponents/CalendarYearList/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Info/Calendar/utils/createDateOfMonth/createDateOfMonth.d.ts +0 -27
- package/dist/stories/components/Info/Calendar/utils/createDateOfMonth/createDateOfMonth.js +0 -73
- package/dist/stories/components/Info/Calendar/utils/createDateOfMonth/index.mdx +0 -121
- package/dist/stories/components/Info/Calendar/utils/getDatesOfMonth/getDatesOfMonth.d.ts +0 -10
- package/dist/stories/components/Info/Calendar/utils/getDatesOfMonth/getDatesOfMonth.js +0 -81
- package/dist/stories/components/Info/Calendar/utils/getDatesOfMonth/index.mdx +0 -37
- package/dist/stories/components/Info/Calendar/utils/types.d.ts +0 -32
- package/dist/stories/components/Info/Calendar/utils/types.js +0 -25
- package/dist/stories/components/Layout/Accordian/Accordian.stories.svelte +0 -52
- package/dist/stories/components/Layout/Accordian/Accordian.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Accordian/Accordian.svelte +0 -121
- package/dist/stories/components/Layout/Accordian/Accordian.svelte.d.ts +0 -34
- package/dist/stories/components/Layout/Accordian/Customize/Customize.stories.svelte +0 -69
- package/dist/stories/components/Layout/Accordian/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Layout/Accordian/Events/Events.stories.svelte +0 -30
- package/dist/stories/components/Layout/Accordian/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Layout/Accordian/Size/Size.stories.svelte +0 -48
- package/dist/stories/components/Layout/Accordian/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Grid/Column/Column.stories.svelte +0 -18
- package/dist/stories/components/Layout/Grid/Column/Column.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Grid/Column/Column.svelte +0 -73
- package/dist/stories/components/Layout/Grid/Column/Column.svelte.d.ts +0 -24
- package/dist/stories/components/Layout/Grid/Grid.stories.svelte +0 -179
- package/dist/stories/components/Layout/Grid/Grid.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Grid/Grid.svelte +0 -24
- package/dist/stories/components/Layout/Grid/Grid.svelte.d.ts +0 -16
- package/dist/stories/components/Layout/Grid/Row/Row.stories.svelte +0 -19
- package/dist/stories/components/Layout/Grid/Row/Row.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Grid/Row/Row.svelte +0 -20
- package/dist/stories/components/Layout/Grid/Row/Row.svelte.d.ts +0 -12
- package/dist/stories/components/Layout/Menu/DynamicMenu/Customize/Customize.stories.svelte +0 -28
- package/dist/stories/components/Layout/Menu/DynamicMenu/Customize/Customize.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Layout/Menu/DynamicMenu/DynamicMenu.stories.svelte +0 -51
- package/dist/stories/components/Layout/Menu/DynamicMenu/DynamicMenu.stories.svelte.d.ts +0 -22
- package/dist/stories/components/Layout/Menu/DynamicMenu/DynamicMenu.svelte +0 -129
- package/dist/stories/components/Layout/Menu/DynamicMenu/DynamicMenu.svelte.d.ts +0 -81
- package/dist/stories/components/Layout/Menu/DynamicMenu/Events/Events.stories.svelte +0 -46
- package/dist/stories/components/Layout/Menu/DynamicMenu/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Layout/Menu/DynamicMenu/KeybaordNavigation/KeybaordNavigation.stories.svelte +0 -27
- package/dist/stories/components/Layout/Menu/DynamicMenu/KeybaordNavigation/KeybaordNavigation.stories.svelte.d.ts +0 -18
- package/dist/stories/components/Layout/Menu/DynamicMenu/Options/OptionFormat.mdx +0 -72
- package/dist/stories/components/Layout/Menu/Menu.stories.svelte +0 -65
- package/dist/stories/components/Layout/Menu/Menu.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Menu/Menu.svelte +0 -30
- package/dist/stories/components/Layout/Menu/Menu.svelte.d.ts +0 -23
- package/dist/stories/components/Layout/Menu/MenuItem/MenuItem.stories.svelte +0 -30
- package/dist/stories/components/Layout/Menu/MenuItem/MenuItem.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Menu/MenuItem/MenuItem.svelte +0 -164
- package/dist/stories/components/Layout/Menu/MenuItem/MenuItem.svelte.d.ts +0 -49
- package/dist/stories/components/Layout/Menu/MenuItem/Size/Size.stories.svelte +0 -16
- package/dist/stories/components/Layout/Menu/MenuItem/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Menu/MenuItem/Type/Type.stories.svelte +0 -21
- package/dist/stories/components/Layout/Menu/MenuItem/Type/Type.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Menu/Size/Size.stories.svelte +0 -37
- package/dist/stories/components/Layout/Menu/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Paper/Color/Color.stories.svelte +0 -63
- package/dist/stories/components/Layout/Paper/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Paper/Paper.stories.svelte +0 -46
- package/dist/stories/components/Layout/Paper/Paper.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Paper/Paper.svelte +0 -250
- package/dist/stories/components/Layout/Paper/Paper.svelte.d.ts +0 -38
- package/dist/stories/components/Layout/Paper/Roundness/Roundness.stories.svelte +0 -25
- package/dist/stories/components/Layout/Paper/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Paper/Shadow/Shadow.stories.svelte +0 -24
- package/dist/stories/components/Layout/Paper/Shadow/Shadow.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Paper/utils/scss/mixins.scss +0 -46
- package/dist/stories/components/Layout/Separator/Color/Color.stories.svelte +0 -19
- package/dist/stories/components/Layout/Separator/Color/Color.stories.svelte.d.ts +0 -26
- package/dist/stories/components/Layout/Separator/Separator.stories.svelte +0 -26
- package/dist/stories/components/Layout/Separator/Separator.stories.svelte.d.ts +0 -21
- package/dist/stories/components/Layout/Separator/Separator.svelte +0 -66
- package/dist/stories/components/Layout/Separator/Separator.svelte.d.ts +0 -22
- package/dist/stories/components/Layout/Separator/utils/scss/mixins.scss +0 -24
- package/dist/stories/developer tools/Intro.mdx +0 -10
- package/dist/stories/developer tools/components/DynamicInput/DynamicInput.stories.svelte +0 -49
- package/dist/stories/developer tools/components/DynamicInput/DynamicInput.stories.svelte.d.ts +0 -21
- package/dist/stories/developer tools/components/DynamicInput/DynamicInput.svelte +0 -111
- package/dist/stories/developer tools/components/DynamicInput/DynamicInput.svelte.d.ts +0 -71
- package/dist/stories/developer tools/components/DynamicInput/Events/Events.stories.svelte +0 -115
- package/dist/stories/developer tools/components/DynamicInput/Events/Events.stories.svelte.d.ts +0 -18
- package/dist/stories/developer tools/components/DynamicInput/Size/Size.stories.svelte +0 -17
- package/dist/stories/developer tools/components/DynamicInput/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/developer tools/components/InputEnclosure/InputEnclosure.stories.svelte +0 -34
- package/dist/stories/developer tools/components/InputEnclosure/InputEnclosure.svelte +0 -124
- package/dist/stories/developer tools/components/InputEnclosure/InputEnclosure.svelte.d.ts +0 -30
- package/dist/stories/developer tools/components/InputEnclosure/Roundness/Roundness.stories.svelte +0 -20
- package/dist/stories/developer tools/components/InputEnclosure/Roundness/Roundness.stories.svelte.d.ts +0 -26
- package/dist/stories/developer tools/components/InputEnclosure/Size/Size.stories.svelte +0 -16
- package/dist/stories/developer tools/components/InputEnclosure/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/developer tools/components/InputEnclosure/WithIcon/WithIcon.stories.svelte +0 -47
- package/dist/stories/developer tools/components/InputEnclosure/WithIcon/WithIcon.stories.svelte.d.ts +0 -26
- package/dist/stories/developer tools/components/Popper/Popper.stories.svelte +0 -135
- package/dist/stories/developer tools/components/Popper/Popper.stories.svelte.d.ts +0 -21
- package/dist/stories/developer tools/components/Popper/Popper.svelte +0 -73
- package/dist/stories/developer tools/components/Popper/Popper.svelte.d.ts +0 -52
- package/dist/stories/developer tools/components/Popper/PopperPopup/PopperPopup.stories.svelte +0 -60
- package/dist/stories/developer tools/components/Popper/PopperPopup/PopperPopup.stories.svelte.d.ts +0 -21
- package/dist/stories/developer tools/components/Popper/PopperPopup/PopperPopup.svelte +0 -80
- package/dist/stories/developer tools/components/Popper/PopperPopup/PopperPopup.svelte.d.ts +0 -36
- package/dist/stories/developer tools/components/Popper/PopperPopup/utils/getPopupPosition.d.ts +0 -23
- package/dist/stories/developer tools/components/Popper/PopperPopup/utils/getPopupPosition.js +0 -79
- package/dist/stories/developer tools/components/Popper/Positions/AutoPosition/AutoPosition.stories.svelte +0 -89
- package/dist/stories/developer tools/components/Popper/Positions/AutoPosition/AutoPosition.stories.svelte.d.ts +0 -18
- package/dist/stories/developer tools/components/Popper/Positions/Positions.stories.svelte +0 -111
- package/dist/stories/developer tools/components/Popper/Positions/Positions.stories.svelte.d.ts +0 -18
- package/dist/stories/developer tools/components/UtilityButton/Size/Size.stories.svelte +0 -25
- package/dist/stories/developer tools/components/UtilityButton/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/developer tools/components/UtilityButton/UtilityButton.stories.svelte +0 -26
- package/dist/stories/developer tools/components/UtilityButton/UtilityButton.stories.svelte.d.ts +0 -21
- package/dist/stories/developer tools/components/UtilityButton/UtilityButton.svelte +0 -82
- package/dist/stories/developer tools/components/UtilityButton/UtilityButton.svelte.d.ts +0 -26
- package/dist/stories/developer tools/components/UtilityIcon/Size/Size.stories.svelte +0 -25
- package/dist/stories/developer tools/components/UtilityIcon/Size/Size.stories.svelte.d.ts +0 -26
- package/dist/stories/developer tools/components/UtilityIcon/UtilityIcon.stories.svelte +0 -26
- package/dist/stories/developer tools/components/UtilityIcon/UtilityIcon.stories.svelte.d.ts +0 -21
- package/dist/stories/developer tools/components/UtilityIcon/UtilityIcon.svelte +0 -58
- package/dist/stories/developer tools/components/UtilityIcon/UtilityIcon.svelte.d.ts +0 -19
- package/dist/stories/developer tools/customize/AutoCustomize/AutoCustomize.mdx +0 -4
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/ColorTool/ColorButton.svelte +0 -42
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/ColorTool/ColorButton.svelte.d.ts +0 -8
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/ColorTool/ColorTool.svelte +0 -21
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/ColorTool/ColorTool.svelte.d.ts +0 -9
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/Config.svelte +0 -144
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/Config.svelte.d.ts +0 -18
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/Export.svelte +0 -123
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/Export.svelte.d.ts +0 -18
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/ValueSilder/ValueSilder.svelte +0 -32
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Config/ValueSilder/ValueSilder.svelte.d.ts +0 -11
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Preview/Preview.svelte +0 -192
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Preview/Preview.svelte.d.ts +0 -3
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Tool.stories.svelte +0 -9
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Tool.stories.svelte.d.ts +0 -19
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Tool.svelte +0 -13
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/Tool.svelte.d.ts +0 -18
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/helpers/download-file.d.ts +0 -1
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/helpers/download-file.js +0 -10
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/stores/config.svelte.d.ts +0 -27
- package/dist/stories/developer tools/customize/AutoCustomize/Tool/stores/config.svelte.js +0 -70
- package/dist/stories/developer tools/customize/Intro.mdx +0 -8
- package/dist/stories/developer tools/directives/clickOutside/clickOutside.d.ts +0 -3
- package/dist/stories/developer tools/directives/clickOutside/clickOutside.js +0 -14
- package/dist/stories/developer tools/directives/clickOutside/index.mdx +0 -25
- package/dist/stories/developer tools/directives/drag/drag.d.ts +0 -3
- package/dist/stories/developer tools/directives/drag/drag.js +0 -40
- package/dist/stories/developer tools/helpers/Numbers/cleanNumericString/cleanNumericString.d.ts +0 -13
- package/dist/stories/developer tools/helpers/Numbers/cleanNumericString/cleanNumericString.js +0 -26
- package/dist/stories/developer tools/helpers/Numbers/cleanNumericString/index.mdx +0 -20
- package/dist/stories/developer tools/helpers/Numbers/isValidNumberValue/index.mdx +0 -71
- package/dist/stories/developer tools/helpers/Numbers/isValidNumberValue/isValidNumberValue.d.ts +0 -51
- package/dist/stories/developer tools/helpers/Numbers/isValidNumberValue/isValidNumberValue.js +0 -96
- package/dist/stories/developer tools/helpers/Time/getMoment/getMoment.d.ts +0 -39
- package/dist/stories/developer tools/helpers/Time/getMoment/getMoment.js +0 -33
- package/dist/stories/developer tools/helpers/Time/getMoment/index.mdx +0 -45
- package/dist/stories/developer tools/helpers/logger/index.mdx +0 -63
- package/dist/stories/developer tools/helpers/logger/logger.d.ts +0 -24
- package/dist/stories/developer tools/helpers/logger/logger.js +0 -31
- package/dist/stories/developer tools/philosophy/Colors/Colors.mdx +0 -43
- package/dist/stories/developer tools/philosophy/Colors/Colors.stories.svelte +0 -20
- package/dist/stories/developer tools/philosophy/Colors/Colors.stories.svelte.d.ts +0 -19
- package/dist/stories/developer tools/philosophy/Colors/Colors.svelte +0 -33
- package/dist/stories/developer tools/philosophy/Colors/Colors.svelte.d.ts +0 -6
- package/dist/stories/developer tools/philosophy/Colors/Opacity.stories.svelte +0 -9
- package/dist/stories/developer tools/philosophy/Colors/Opacity.stories.svelte.d.ts +0 -19
- package/dist/stories/developer tools/philosophy/Colors/Opacity.svelte +0 -20
- package/dist/stories/developer tools/philosophy/Colors/Opacity.svelte.d.ts +0 -18
- package/dist/stories/developer tools/philosophy/Colors/Swatches/Palette.svelte +0 -37
- package/dist/stories/developer tools/philosophy/Colors/Swatches/Palette.svelte.d.ts +0 -6
- package/dist/stories/developer tools/philosophy/Colors/Swatches/Swatch.svelte +0 -24
- package/dist/stories/developer tools/philosophy/Colors/Swatches/Swatch.svelte.d.ts +0 -8
- package/dist/stories/developer tools/philosophy/Colors/Swatches/Swatches.svelte +0 -43
- package/dist/stories/developer tools/philosophy/Colors/Swatches/Swatches.svelte.d.ts +0 -8
- package/dist/stories/developer tools/philosophy/Colors/utils/color.d.ts +0 -4
- package/dist/stories/developer tools/philosophy/Colors/utils/color.js +0 -38
- package/dist/stories/developer tools/philosophy/Themes.mdx +0 -23
- package/dist/types/colors.d.ts +0 -7
- package/dist/types/colors.js +0 -10
- package/dist/types/position.d.ts +0 -4
- package/dist/types/position.js +0 -2
- package/dist/types/roundness.d.ts +0 -3
- package/dist/types/roundness.js +0 -1
- package/dist/types/shadow.d.ts +0 -3
- package/dist/types/shadow.js +0 -1
- package/dist/types/size.d.ts +0 -3
- package/dist/types/size.js +0 -1
- package/dist/types/special.d.ts +0 -1
- package/dist/types/special.js +0 -1
- package/dist/types/weight.d.ts +0 -3
- package/dist/types/weight.js +0 -1
- package/src/lib/stories/components/Form/Button/Button.svelte +0 -357
- package/src/lib/stories/components/Form/Button/utils/scss/mixins.scss +0 -86
- package/src/lib/stories/components/Form/Checkbox/Checkbox.svelte +0 -323
- package/src/lib/stories/components/Form/Checkbox/utils/scss/mixins.scss +0 -80
- package/src/lib/stories/components/Form/DatePicker/DatePicker.svelte +0 -730
- package/src/lib/stories/components/Form/FormControl/FormControl.svelte +0 -65
- package/src/lib/stories/components/Form/Label/Label.svelte +0 -42
- package/src/lib/stories/components/Form/Message/Message.svelte +0 -87
- package/src/lib/stories/components/Form/NumericInput/NumericInput.svelte +0 -287
- package/src/lib/stories/components/Form/PasswordInput/PasswordInput.svelte +0 -235
- package/src/lib/stories/components/Form/Radio/Radio.svelte +0 -277
- package/src/lib/stories/components/Form/Radio/utils/scss/mixins.scss +0 -85
- package/src/lib/stories/components/Form/RangeSlider/RangeSlider.svelte +0 -487
- package/src/lib/stories/components/Form/RangeSlider/utils/scss/mixins.scss +0 -91
- package/src/lib/stories/components/Form/Search/Search.svelte +0 -285
- package/src/lib/stories/components/Form/Select/Select.svelte +0 -523
- package/src/lib/stories/components/Form/TextInput/TextInput.svelte +0 -179
- package/src/lib/stories/components/Form/Toggle/Toggle.svelte +0 -290
- package/src/lib/stories/components/Form/Toggle/utils/scss/mixins.scss +0 -68
- package/src/lib/stories/components/Info/Calendar/Calendar.svelte +0 -467
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarControls.svelte +0 -271
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarMonthSelector/CalendarMonthSelector.svelte +0 -199
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/CalendarNavigation.svelte +0 -128
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarNavigation/NavigationButton.svelte +0 -85
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarControls/CalendarYearSelector/CalendarYearSelector.svelte +0 -148
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/CalendarDateChip.svelte +0 -273
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDateChip/utils/scss/mixins.scss +0 -107
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarDatesChart.svelte +0 -236
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/CalendarWeek.svelte +0 -154
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarDatesChart/CalendarWeek/WeekDay.svelte +0 -90
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/CalendarMonthChip.svelte +0 -217
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthChip/utils/scss/mixins.scss +0 -91
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarMonthList/CalendarMonthList.svelte +0 -124
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/CalendarYearChip.svelte +0 -227
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearChip/utils/scss/mixins.scss +0 -87
- package/src/lib/stories/components/Info/Calendar/SubComponents/CalendarYearList/CalendarYearList.svelte +0 -150
- package/src/lib/stories/components/Info/Calendar/utils/createDateOfMonth/createDateOfMonth.ts +0 -122
- package/src/lib/stories/components/Info/Calendar/utils/getDatesOfMonth/getDatesOfMonth.ts +0 -114
- package/src/lib/stories/components/Info/Calendar/utils/types.ts +0 -34
- package/src/lib/stories/components/Layout/Accordian/Accordian.svelte +0 -195
- package/src/lib/stories/components/Layout/Grid/Column/Column.svelte +0 -127
- package/src/lib/stories/components/Layout/Grid/Grid.svelte +0 -47
- package/src/lib/stories/components/Layout/Grid/Row/Row.svelte +0 -36
- package/src/lib/stories/components/Layout/Menu/DynamicMenu/DynamicMenu.svelte +0 -262
- package/src/lib/stories/components/Layout/Menu/Menu.svelte +0 -65
- package/src/lib/stories/components/Layout/Menu/MenuItem/MenuItem.svelte +0 -268
- package/src/lib/stories/components/Layout/Paper/Paper.svelte +0 -225
- package/src/lib/stories/components/Layout/Paper/utils/scss/mixins.scss +0 -46
- package/src/lib/stories/components/Layout/Separator/Separator.svelte +0 -96
- package/src/lib/stories/components/Layout/Separator/utils/scss/mixins.scss +0 -24
- package/src/lib/stories/developer tools/components/DynamicInput/DynamicInput.svelte +0 -235
- package/src/lib/stories/developer tools/components/InputEnclosure/InputEnclosure.svelte +0 -202
- package/src/lib/stories/developer tools/components/Popper/Popper.svelte +0 -158
- package/src/lib/stories/developer tools/components/Popper/PopperPopup/PopperPopup.svelte +0 -146
- package/src/lib/stories/developer tools/components/Popper/PopperPopup/utils/getPopupPosition.ts +0 -101
- package/src/lib/stories/developer tools/components/UtilityButton/UtilityButton.svelte +0 -130
- package/src/lib/stories/developer tools/components/UtilityIcon/UtilityIcon.svelte +0 -90
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/Config/ColorTool/ColorButton.svelte +0 -56
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/Config/ColorTool/ColorTool.svelte +0 -32
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/Config/Config.svelte +0 -149
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/Config/Export.svelte +0 -172
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/Config/ValueSilder/ValueSilder.svelte +0 -47
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/Preview/Preview.svelte +0 -227
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/Tool.svelte +0 -16
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/helpers/download-file.ts +0 -11
- package/src/lib/stories/developer tools/customize/AutoCustomize/Tool/stores/config.svelte.ts +0 -107
- package/src/lib/stories/developer tools/directives/clickOutside/clickOutside.ts +0 -17
- package/src/lib/stories/developer tools/directives/drag/drag.ts +0 -47
- package/src/lib/stories/developer tools/helpers/Numbers/cleanNumericString/cleanNumericString.ts +0 -27
- package/src/lib/stories/developer tools/helpers/Numbers/isValidNumberValue/isValidNumberValue.ts +0 -156
- package/src/lib/stories/developer tools/helpers/Time/getMoment/getMoment.ts +0 -66
- package/src/lib/stories/developer tools/helpers/logger/logger.ts +0 -46
- package/src/lib/stories/developer tools/philosophy/Colors/Colors.svelte +0 -46
- package/src/lib/stories/developer tools/philosophy/Colors/Opacity.svelte +0 -23
- package/src/lib/stories/developer tools/philosophy/Colors/Swatches/Palette.svelte +0 -46
- package/src/lib/stories/developer tools/philosophy/Colors/Swatches/Swatch.svelte +0 -35
- package/src/lib/stories/developer tools/philosophy/Colors/Swatches/Swatches.svelte +0 -55
- package/src/lib/stories/developer tools/philosophy/Colors/utils/color.ts +0 -41
- package/src/lib/types/colors.ts +0 -16
- package/src/lib/types/position.ts +0 -5
- package/src/lib/types/roundness.ts +0 -3
- package/src/lib/types/shadow.ts +0 -3
- package/src/lib/types/size.ts +0 -3
- package/src/lib/types/special.ts +0 -1
- package/src/lib/types/weight.ts +0 -3
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
<script lang="ts" module>
|
|
2
|
-
import type { ComponentRoundness } from '$lib/types/roundness.js';
|
|
3
|
-
import type { ComponentSize } from '$lib/types/size.js';
|
|
4
|
-
import type { Snippet } from 'svelte';
|
|
5
|
-
|
|
6
|
-
export interface InputEnclosureProps {
|
|
7
|
-
/** InputEnclosure contents goes here */
|
|
8
|
-
children?: Snippet;
|
|
9
|
-
/** InputEnclosure ref */
|
|
10
|
-
ref?: HTMLDivElement;
|
|
11
|
-
/** How large should the button be? */
|
|
12
|
-
size?: ComponentSize;
|
|
13
|
-
/** How round should the border radius be? */
|
|
14
|
-
roundness?: ComponentRoundness;
|
|
15
|
-
/** Add a border around the button. Default True */
|
|
16
|
-
outline?: boolean;
|
|
17
|
-
/** disabled state */
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
/** is there any associated Error ? */
|
|
20
|
-
error?: boolean;
|
|
21
|
-
/** is focused */
|
|
22
|
-
focused?: boolean;
|
|
23
|
-
/** Icon before button content */
|
|
24
|
-
before?: Snippet;
|
|
25
|
-
/** Icon after button content */
|
|
26
|
-
after?: Snippet;
|
|
27
|
-
/** Custom css class*/
|
|
28
|
-
class?: string;
|
|
29
|
-
}
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
<script lang="ts">
|
|
33
|
-
let {
|
|
34
|
-
size = 'normal',
|
|
35
|
-
roundness = 1,
|
|
36
|
-
outline = true,
|
|
37
|
-
class: className = '',
|
|
38
|
-
disabled = false,
|
|
39
|
-
before,
|
|
40
|
-
after,
|
|
41
|
-
error = false,
|
|
42
|
-
focused = false,
|
|
43
|
-
children,
|
|
44
|
-
ref = $bindable<HTMLDivElement>(),
|
|
45
|
-
}: InputEnclosureProps = $props();
|
|
46
|
-
</script>
|
|
47
|
-
|
|
48
|
-
<div
|
|
49
|
-
class:outline
|
|
50
|
-
class:disabled
|
|
51
|
-
class:error
|
|
52
|
-
class:focused
|
|
53
|
-
class={['dodo-ui-InputEnclosure', `size--${size}`, `roundness--${roundness}`, className].join(
|
|
54
|
-
' ',
|
|
55
|
-
)}
|
|
56
|
-
bind:this={ref}
|
|
57
|
-
>
|
|
58
|
-
{#if before}
|
|
59
|
-
<span class="content--before">
|
|
60
|
-
{@render before()}
|
|
61
|
-
</span>
|
|
62
|
-
{/if}
|
|
63
|
-
|
|
64
|
-
{#if children}
|
|
65
|
-
{@render children()}
|
|
66
|
-
{/if}
|
|
67
|
-
|
|
68
|
-
{#if after}
|
|
69
|
-
<span class="content--after">
|
|
70
|
-
{@render after()}
|
|
71
|
-
</span>
|
|
72
|
-
{/if}
|
|
73
|
-
</div>
|
|
74
|
-
|
|
75
|
-
<style lang="scss">
|
|
76
|
-
:global(:root) {
|
|
77
|
-
--dodo-ui-InputEnclosure-border-color: var(--dodo-color-neutral-500);
|
|
78
|
-
--dodo-ui-InputEnclosure-focus-border-color: var(--dodo-color-primary-500);
|
|
79
|
-
--dodo-ui-InputEnclosure-error-border-color: var(--dodo-color-danger-500);
|
|
80
|
-
|
|
81
|
-
--dodo-ui-InputEnclosure-disabled-color: var(--dodo-color-neutral-400);
|
|
82
|
-
--dodo-ui-InputEnclosure-disabled-bg: var(--dodo-color-neutral-200);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
:global(.dodo-theme--dark) {
|
|
86
|
-
--dodo-ui-InputEnclosure-border-color: var(--dodo-color-neutral-600);
|
|
87
|
-
--dodo-ui-InputEnclosure-focus-border-color: var(--dodo-color-primary-600);
|
|
88
|
-
--dodo-ui-InputEnclosure-error-border-color: var(--dodo-color-danger-600);
|
|
89
|
-
|
|
90
|
-
--dodo-ui-InputEnclosure-disabled-bg: var(--dodo-color-neutral-100);
|
|
91
|
-
--dodo-ui-InputEnclosure-disabled-color: var(--dodo-color-neutral-500);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.dodo-ui-InputEnclosure {
|
|
95
|
-
display: flex;
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
color: var(--dodo-color-neutral-800);
|
|
98
|
-
transition: all 150ms;
|
|
99
|
-
border: 0;
|
|
100
|
-
|
|
101
|
-
&.outline {
|
|
102
|
-
border-style: solid;
|
|
103
|
-
border-width: var(--dodo-ui-element-border-width);
|
|
104
|
-
border-color: var(--dodo-ui-InputEnclosure-border-color);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.focused {
|
|
108
|
-
border-color: var(--dodo-ui-InputEnclosure-focus-border-color);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.error {
|
|
112
|
-
border-color: var(--dodo-ui-InputEnclosure-error-border-color);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&.disabled {
|
|
116
|
-
cursor: initial;
|
|
117
|
-
background-color: var(--dodo-ui-InputEnclosure-disabled-bg);
|
|
118
|
-
color: var(--dodo-ui-InputEnclosure-disabled-color);
|
|
119
|
-
border-color: var(--dodo-ui-InputEnclosure-disabled-bg);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.content {
|
|
123
|
-
&--after,
|
|
124
|
-
&--before {
|
|
125
|
-
&:empty {
|
|
126
|
-
display: none;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&--after,
|
|
131
|
-
&--before {
|
|
132
|
-
display: inline-flex;
|
|
133
|
-
height: 100%;
|
|
134
|
-
align-items: center;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&.size {
|
|
139
|
-
&--normal {
|
|
140
|
-
height: var(--dodo-ui-element-height-normal);
|
|
141
|
-
|
|
142
|
-
.content {
|
|
143
|
-
&--before {
|
|
144
|
-
margin-left: 12px;
|
|
145
|
-
margin-right: -4px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&--after {
|
|
149
|
-
margin-right: 12px;
|
|
150
|
-
margin-left: -4px;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&--small {
|
|
156
|
-
height: var(--dodo-ui-element-height-small);
|
|
157
|
-
|
|
158
|
-
.content {
|
|
159
|
-
&--before {
|
|
160
|
-
margin-left: 8px;
|
|
161
|
-
margin-right: -2px;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&--after {
|
|
165
|
-
margin-right: 8px;
|
|
166
|
-
margin-left: -2px;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&--large {
|
|
172
|
-
height: var(--dodo-ui-element-height-large);
|
|
173
|
-
|
|
174
|
-
.content {
|
|
175
|
-
&--before {
|
|
176
|
-
margin-left: 14px;
|
|
177
|
-
margin-right: -4px;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&--after {
|
|
181
|
-
margin-right: 14px;
|
|
182
|
-
margin-left: -4px;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&.roundness {
|
|
189
|
-
&--1 {
|
|
190
|
-
border-radius: var(--dodo-ui-element-roundness-1);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&--2 {
|
|
194
|
-
border-radius: var(--dodo-ui-element-roundness-2);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&--3 {
|
|
198
|
-
border-radius: var(--dodo-ui-element-roundness-3);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
</style>
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
<script lang="ts" module>
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import PopperPopup from './PopperPopup/PopperPopup.svelte';
|
|
4
|
-
import type { PaperProps } from '$lib/stories/components/Layout/Paper/Paper.svelte';
|
|
5
|
-
import { clickOutside } from '$lib/stories/developer tools/directives/clickOutside/clickOutside.js';
|
|
6
|
-
import type { PositionX, PositionY } from '$lib/types/position.js';
|
|
7
|
-
|
|
8
|
-
export interface PopperProps {
|
|
9
|
-
/** Popper contents goes here */
|
|
10
|
-
children?: Snippet;
|
|
11
|
-
/** Popper ref */
|
|
12
|
-
ref?: HTMLDivElement;
|
|
13
|
-
/** Id */
|
|
14
|
-
id?: string;
|
|
15
|
-
/** Title (for tooltip) */
|
|
16
|
-
title?: string;
|
|
17
|
-
/** Custom css class*/
|
|
18
|
-
class?: string;
|
|
19
|
-
/** Open popper */
|
|
20
|
-
open?: boolean;
|
|
21
|
-
/** Full width Popper? */
|
|
22
|
-
fullWidth?: boolean;
|
|
23
|
-
/** override Full width for Popup? */
|
|
24
|
-
popupFullWidth?: boolean;
|
|
25
|
-
/** PopperPopup ref */
|
|
26
|
-
popupRef?: HTMLDivElement;
|
|
27
|
-
/** PopperPopup contents goes here */
|
|
28
|
-
popupChildren?: Snippet;
|
|
29
|
-
/** PaperProps: Paper component props for PopperPopup */
|
|
30
|
-
paperProps?: Partial<PaperProps>;
|
|
31
|
-
/** PopperPopup Max height. Use css compatible value */
|
|
32
|
-
popupMaxHeight?: string;
|
|
33
|
-
/** PopperPopup Width. Use css compatible value */
|
|
34
|
-
popupWidth?: string;
|
|
35
|
-
/** popup Custom css class*/
|
|
36
|
-
popupClass?: string;
|
|
37
|
-
/** Popup stick horizontally */
|
|
38
|
-
popupPositionX?: PositionX;
|
|
39
|
-
/** Popup stick vertically */
|
|
40
|
-
popupPositionY?: PositionY;
|
|
41
|
-
/** vertical offset/gap between Popup and content */
|
|
42
|
-
popupOffsetY?: number;
|
|
43
|
-
/** Horizontal offset/gap between Popup and content */
|
|
44
|
-
popupOffsetX?: number;
|
|
45
|
-
/** Lock positions, disable auto top, bottom position based */
|
|
46
|
-
lockPoistions?: boolean;
|
|
47
|
-
/** Popper Height For Vertical Position, default 300 */
|
|
48
|
-
popperHeightForVerticalPosition?: number;
|
|
49
|
-
/** Click Outside event */
|
|
50
|
-
onClickOutside?: () => void;
|
|
51
|
-
/** Custom Popup */
|
|
52
|
-
customPopup?: (popperLocation?: DOMRect) => Snippet;
|
|
53
|
-
}
|
|
54
|
-
</script>
|
|
55
|
-
|
|
56
|
-
<script lang="ts">
|
|
57
|
-
let {
|
|
58
|
-
children,
|
|
59
|
-
popupChildren,
|
|
60
|
-
id,
|
|
61
|
-
class: className = '',
|
|
62
|
-
ref = $bindable<HTMLDivElement>(),
|
|
63
|
-
open = false,
|
|
64
|
-
popupRef = $bindable<HTMLDivElement>(),
|
|
65
|
-
paperProps,
|
|
66
|
-
popupMaxHeight,
|
|
67
|
-
popupWidth,
|
|
68
|
-
popupClass,
|
|
69
|
-
popupPositionX,
|
|
70
|
-
popupPositionY,
|
|
71
|
-
popupOffsetX,
|
|
72
|
-
popupOffsetY,
|
|
73
|
-
onClickOutside = () => {},
|
|
74
|
-
customPopup,
|
|
75
|
-
popperHeightForVerticalPosition,
|
|
76
|
-
lockPoistions,
|
|
77
|
-
fullWidth = false,
|
|
78
|
-
popupFullWidth: popupFullWidthRaw,
|
|
79
|
-
}: PopperProps = $props();
|
|
80
|
-
|
|
81
|
-
const popupFullWidth = $derived(popupFullWidthRaw !== undefined ? popupFullWidthRaw : fullWidth);
|
|
82
|
-
|
|
83
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
84
|
-
let customPopupTyped = customPopup as any;
|
|
85
|
-
|
|
86
|
-
let popperLocation = $state<DOMRect>();
|
|
87
|
-
|
|
88
|
-
function capturePopperLocation() {
|
|
89
|
-
if (!ref) {
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
popperLocation = ref.getBoundingClientRect();
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
$effect(() => {
|
|
97
|
-
if (!ref) {
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
capturePopperLocation();
|
|
102
|
-
|
|
103
|
-
window.addEventListener('resize', capturePopperLocation);
|
|
104
|
-
|
|
105
|
-
return () => {
|
|
106
|
-
window.removeEventListener('resize', capturePopperLocation);
|
|
107
|
-
};
|
|
108
|
-
});
|
|
109
|
-
</script>
|
|
110
|
-
|
|
111
|
-
<div
|
|
112
|
-
class:fullWidth
|
|
113
|
-
class={['dodo-ui-Popper', className].join(' ')}
|
|
114
|
-
bind:this={ref}
|
|
115
|
-
{id}
|
|
116
|
-
use:clickOutside={onClickOutside}
|
|
117
|
-
>
|
|
118
|
-
{#if children}
|
|
119
|
-
{@render children()}
|
|
120
|
-
{/if}
|
|
121
|
-
|
|
122
|
-
{#if customPopupTyped}
|
|
123
|
-
{@render customPopupTyped(popperLocation)}
|
|
124
|
-
{:else if open && popperLocation}
|
|
125
|
-
<PopperPopup
|
|
126
|
-
{popperLocation}
|
|
127
|
-
{paperProps}
|
|
128
|
-
{popupMaxHeight}
|
|
129
|
-
{popupWidth}
|
|
130
|
-
{popupPositionX}
|
|
131
|
-
{popupPositionY}
|
|
132
|
-
{popupOffsetX}
|
|
133
|
-
{popupOffsetY}
|
|
134
|
-
{popperHeightForVerticalPosition}
|
|
135
|
-
{lockPoistions}
|
|
136
|
-
fullWidth={popupFullWidth}
|
|
137
|
-
class={popupClass}
|
|
138
|
-
>
|
|
139
|
-
{#if popupChildren}
|
|
140
|
-
{@render popupChildren()}
|
|
141
|
-
{/if}
|
|
142
|
-
</PopperPopup>
|
|
143
|
-
{/if}
|
|
144
|
-
</div>
|
|
145
|
-
|
|
146
|
-
<style lang="scss">
|
|
147
|
-
.dodo-ui-Popper {
|
|
148
|
-
position: relative;
|
|
149
|
-
display: inline-flex;
|
|
150
|
-
flex-wrap: wrap;
|
|
151
|
-
|
|
152
|
-
&.fullWidth {
|
|
153
|
-
display: flex;
|
|
154
|
-
width: 100%;
|
|
155
|
-
flex-direction: column;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
</style>
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
<script lang="ts" module>
|
|
2
|
-
import { Paper } from '$lib/index.js';
|
|
3
|
-
import type { PaperProps } from '$lib/stories/components/Layout/Paper/Paper.svelte';
|
|
4
|
-
import type { PositionX, PositionY } from '$lib/types/position.js';
|
|
5
|
-
import type { Snippet } from 'svelte';
|
|
6
|
-
import { getPopupPosition } from './utils/getPopupPosition.js';
|
|
7
|
-
|
|
8
|
-
export interface PopperPopupProps {
|
|
9
|
-
/** Popup contents goes here*/
|
|
10
|
-
children?: Snippet;
|
|
11
|
-
/** Popup ref */
|
|
12
|
-
ref?: HTMLDivElement;
|
|
13
|
-
/** PaperProps: Paper component props */
|
|
14
|
-
paperProps?: Partial<PaperProps>;
|
|
15
|
-
/** Max height. Use css compatible value */
|
|
16
|
-
popupMaxHeight?: string;
|
|
17
|
-
/** popup Width. Use css compatible value */
|
|
18
|
-
popupWidth?: string;
|
|
19
|
-
/** Custom css class */
|
|
20
|
-
class?: string;
|
|
21
|
-
/** Position of Popper content */
|
|
22
|
-
popperLocation?: DOMRect;
|
|
23
|
-
/** Popup stick horizontally */
|
|
24
|
-
popupPositionX?: PositionX;
|
|
25
|
-
/** Popup stick vertically */
|
|
26
|
-
popupPositionY?: PositionY;
|
|
27
|
-
/** vertical offset/gap between Popup and content */
|
|
28
|
-
popupOffsetY?: number;
|
|
29
|
-
/** Horizontal offset/gap between Popup and content */
|
|
30
|
-
popupOffsetX?: number;
|
|
31
|
-
/** Lock positions, disable auto top, bottom position based */
|
|
32
|
-
lockPoistions?: boolean;
|
|
33
|
-
/** Popper Height For Vertical Position, default 300 */
|
|
34
|
-
popperHeightForVerticalPosition?: number;
|
|
35
|
-
/** Full width Popper? */
|
|
36
|
-
fullWidth?: boolean;
|
|
37
|
-
}
|
|
38
|
-
</script>
|
|
39
|
-
|
|
40
|
-
<script lang="ts">
|
|
41
|
-
let {
|
|
42
|
-
children,
|
|
43
|
-
paperProps = {},
|
|
44
|
-
class: className = '',
|
|
45
|
-
popupWidth: width,
|
|
46
|
-
popupMaxHeight: maxHeight,
|
|
47
|
-
popupPositionX: positionX = 'left',
|
|
48
|
-
popupPositionY: positionY = 'bottom',
|
|
49
|
-
popperLocation,
|
|
50
|
-
ref = $bindable<HTMLDivElement>(),
|
|
51
|
-
popupOffsetX: offsetX = 0,
|
|
52
|
-
popupOffsetY: offsetY = 12,
|
|
53
|
-
popperHeightForVerticalPosition = 100,
|
|
54
|
-
lockPoistions = false,
|
|
55
|
-
fullWidth = false,
|
|
56
|
-
}: PopperPopupProps = $props();
|
|
57
|
-
|
|
58
|
-
let popupLocation = $state<DOMRect>();
|
|
59
|
-
|
|
60
|
-
const fullWidthInPixels = $derived(
|
|
61
|
-
fullWidth && popperLocation?.width ? `${popperLocation?.width}px` : '',
|
|
62
|
-
);
|
|
63
|
-
const popperWidth = $derived(width || fullWidthInPixels);
|
|
64
|
-
const popupMaxHeight = $derived(maxHeight || '400px');
|
|
65
|
-
|
|
66
|
-
let left = $state<number | null>(null);
|
|
67
|
-
let right = $state<number | null>(null);
|
|
68
|
-
let top = $state<number | null>(null);
|
|
69
|
-
let bottom = $state<number | null>(null);
|
|
70
|
-
|
|
71
|
-
function capturePopupLocation() {
|
|
72
|
-
if (!ref) {
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
popupLocation = ref.getBoundingClientRect();
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
$effect(() => {
|
|
80
|
-
if (!ref) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
capturePopupLocation();
|
|
85
|
-
|
|
86
|
-
window.addEventListener('resize', capturePopupLocation);
|
|
87
|
-
|
|
88
|
-
return () => {
|
|
89
|
-
window.removeEventListener('resize', capturePopupLocation);
|
|
90
|
-
};
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
$effect(() => {
|
|
94
|
-
const values = getPopupPosition({
|
|
95
|
-
positionX,
|
|
96
|
-
positionY,
|
|
97
|
-
offsetX: offsetX,
|
|
98
|
-
offsetY: offsetY,
|
|
99
|
-
popperHeight: popperHeightForVerticalPosition,
|
|
100
|
-
lockPoistions,
|
|
101
|
-
popperLocation,
|
|
102
|
-
popupLocation,
|
|
103
|
-
fullWidth,
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
left = values.left;
|
|
107
|
-
right = values.right;
|
|
108
|
-
top = values.top;
|
|
109
|
-
bottom = values.bottom;
|
|
110
|
-
});
|
|
111
|
-
</script>
|
|
112
|
-
|
|
113
|
-
<div
|
|
114
|
-
class={[
|
|
115
|
-
'dodo-ui-PopperPopup',
|
|
116
|
-
`positionX--${positionX}`,
|
|
117
|
-
`positionY--${positionY}`,
|
|
118
|
-
className,
|
|
119
|
-
].join(' ')}
|
|
120
|
-
bind:this={ref}
|
|
121
|
-
style={`${popperWidth ? `width: ${popperWidth};` : ''}
|
|
122
|
-
${left !== null ? `left: ${left}px;` : ''}
|
|
123
|
-
${right !== null ? `right: ${right}px;` : ''}
|
|
124
|
-
${top !== null ? `top: ${top}px;` : ''}
|
|
125
|
-
${bottom !== null ? `bottom: ${bottom}px;` : ''}
|
|
126
|
-
`}
|
|
127
|
-
>
|
|
128
|
-
<Paper shadow={3} {...paperProps}>
|
|
129
|
-
<section style={`max-height: ${popupMaxHeight};`}>
|
|
130
|
-
{#if children}
|
|
131
|
-
{@render children()}
|
|
132
|
-
{/if}
|
|
133
|
-
</section>
|
|
134
|
-
</Paper>
|
|
135
|
-
</div>
|
|
136
|
-
|
|
137
|
-
<style lang="scss">
|
|
138
|
-
.dodo-ui-PopperPopup {
|
|
139
|
-
position: fixed;
|
|
140
|
-
z-index: var(--dodo-ui-z-index-4);
|
|
141
|
-
|
|
142
|
-
section {
|
|
143
|
-
overflow: auto;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
</style>
|
package/src/lib/stories/developer tools/components/Popper/PopperPopup/utils/getPopupPosition.ts
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { browser } from '$app/environment';
|
|
2
|
-
import type { PositionX, PositionY } from '$lib/types/position.js';
|
|
3
|
-
|
|
4
|
-
export interface GetPopupPositionProps {
|
|
5
|
-
positionX: PositionX;
|
|
6
|
-
positionY: PositionY;
|
|
7
|
-
offsetX?: number;
|
|
8
|
-
offsetY?: number;
|
|
9
|
-
popperHeight: number;
|
|
10
|
-
lockPoistions: boolean;
|
|
11
|
-
popperLocation?: DOMRect;
|
|
12
|
-
popupLocation?: DOMRect;
|
|
13
|
-
fullWidth?: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export function getPopupPosition(props: GetPopupPositionProps) {
|
|
17
|
-
let left: null | number = null;
|
|
18
|
-
let right: null | number = null;
|
|
19
|
-
let top: null | number = null;
|
|
20
|
-
let bottom: null | number = null;
|
|
21
|
-
|
|
22
|
-
// exit if not browser
|
|
23
|
-
if (!browser) {
|
|
24
|
-
return {
|
|
25
|
-
left,
|
|
26
|
-
right,
|
|
27
|
-
top,
|
|
28
|
-
bottom,
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
const POPPER_LEFT = props.popperLocation?.left || 0;
|
|
33
|
-
const POPPER_TOP = props.popperLocation?.top || 0;
|
|
34
|
-
const POPPER_BOTTOM = props.popperLocation?.bottom || 0;
|
|
35
|
-
const POPPER_HEIGHT = props.popperLocation?.height || 0;
|
|
36
|
-
const POPPER_WIDTH = props.popperLocation?.width || 0;
|
|
37
|
-
|
|
38
|
-
const offsetX = props.offsetX ? props.offsetX : 0;
|
|
39
|
-
const offsetY = props.offsetY ? props.offsetY : 0;
|
|
40
|
-
|
|
41
|
-
const POPUP_WIDTH = props.popupLocation?.width || 0;
|
|
42
|
-
|
|
43
|
-
const WIDTH_DIFF = POPPER_WIDTH - POPUP_WIDTH;
|
|
44
|
-
|
|
45
|
-
const innerHeight = window.innerHeight;
|
|
46
|
-
const gapBottom = innerHeight - POPPER_BOTTOM;
|
|
47
|
-
|
|
48
|
-
let positionY = props.positionY;
|
|
49
|
-
|
|
50
|
-
// Adjust position if there is not enough space to draw it.
|
|
51
|
-
if (!props.lockPoistions) {
|
|
52
|
-
if (positionY === 'top' && POPPER_TOP < POPPER_HEIGHT + offsetY) {
|
|
53
|
-
positionY = 'bottom';
|
|
54
|
-
} else if (positionY === 'bottom' && gapBottom < POPPER_HEIGHT + offsetY) {
|
|
55
|
-
positionY = 'top';
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
switch (positionY) {
|
|
60
|
-
case 'top':
|
|
61
|
-
top = null;
|
|
62
|
-
bottom = POPPER_TOP + POPPER_HEIGHT + offsetY;
|
|
63
|
-
break;
|
|
64
|
-
case 'bottom':
|
|
65
|
-
top = POPPER_TOP + POPPER_HEIGHT + offsetY;
|
|
66
|
-
bottom = null;
|
|
67
|
-
break;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
if (props.fullWidth) {
|
|
71
|
-
// If Full Width
|
|
72
|
-
left = POPPER_LEFT;
|
|
73
|
-
right = null;
|
|
74
|
-
} else if (WIDTH_DIFF < 0) {
|
|
75
|
-
// If Popup is bigger than the Popper Container
|
|
76
|
-
left = POPPER_LEFT;
|
|
77
|
-
right = null;
|
|
78
|
-
} else {
|
|
79
|
-
switch (props.positionX) {
|
|
80
|
-
case 'left':
|
|
81
|
-
left = POPPER_LEFT + offsetX;
|
|
82
|
-
right = null;
|
|
83
|
-
break;
|
|
84
|
-
case 'center':
|
|
85
|
-
left = POPPER_LEFT + offsetX + WIDTH_DIFF / 2;
|
|
86
|
-
right = null;
|
|
87
|
-
break;
|
|
88
|
-
case 'right':
|
|
89
|
-
left = POPPER_LEFT + offsetX + WIDTH_DIFF;
|
|
90
|
-
right = null;
|
|
91
|
-
break;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
return {
|
|
96
|
-
left,
|
|
97
|
-
right,
|
|
98
|
-
top,
|
|
99
|
-
bottom,
|
|
100
|
-
};
|
|
101
|
-
}
|