intergalactic 15.63.0-prerelease-b6c7c644 → 15.65.1-prerelease-c5be067c
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/CHANGELOG.md +12 -15
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +10 -12
- package/base-trigger/lib/cjs/FilterTrigger.js.map +1 -1
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +10 -12
- package/base-trigger/lib/es6/FilterTrigger.js.map +1 -1
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/components.json +73 -73
- package/data-table/lib/cjs/Body.js +2 -5
- package/data-table/lib/cjs/Body.js.map +1 -1
- package/data-table/lib/es6/Body.js +2 -5
- package/data-table/lib/es6/Body.js.map +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +26 -26
- package/date-picker/lib/cjs/components/InputTrigger.js +26 -26
- package/date-picker/lib/cjs/components/PickerAbstract.js +26 -26
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +26 -26
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +26 -26
- package/date-picker/lib/es6/components/InputTrigger.js +26 -26
- package/date-picker/lib/es6/components/PickerAbstract.js +26 -26
- package/date-picker/lib/es6/components/RangePickerAbstract.js +26 -26
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/cjs/style/input-tag.shadow.css +2 -2
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/es6/style/input-tag.shadow.css +2 -2
- package/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +9 -9
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +9 -9
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/typography/index.d.ts +4 -2
- package/typography/lib/cjs/index.d.js.map +1 -1
- package/typography/lib/es6/index.d.js.map +1 -1
- package/typography/lib/types/index.d.ts +4 -2
@@ -13,32 +13,32 @@ import Dropdown from 'intergalactic/dropdown';
|
|
13
13
|
import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
14
14
|
import { localizedMessages } from '../translations/__intergalactic-dynamic-locales';
|
15
15
|
/*__reshadow-styles__:"../style/date-picker.shadow.css"*/
|
16
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
17
|
-
"__SHeader": "
|
18
|
-
"__STitle": "
|
19
|
-
"__SToday": "
|
20
|
-
"__SPeriod": "
|
21
|
-
"__SButton": "
|
22
|
-
"__SInner": "
|
23
|
-
"__SInputMask": "
|
24
|
-
"__SIndicator": "
|
25
|
-
"__SRangeIndicator": "
|
26
|
-
"_range_value": "
|
27
|
-
"_range_compare": "
|
28
|
-
"_disabled": "
|
29
|
-
"__SHumanizedDate": "
|
30
|
-
"__SSingleDateInput": "
|
31
|
-
"__SValue": "
|
32
|
-
"__SDateRange": "
|
33
|
-
"__SMask": "
|
34
|
-
"_noHumanizedDate": "
|
35
|
-
"__SRangeSep": "
|
36
|
-
"_fulfilled": "
|
37
|
-
"__SRangeComparatorHeader": "
|
38
|
-
"__SRangeCalendar": "
|
39
|
-
"__SFooter": "
|
40
|
-
"__SPeriodsList": "
|
41
|
-
"__SPopper": "
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPopper_1he9z_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_1he9z_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_1he9z_gg_:active,.___SPopper_1he9z_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_1he9z_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_1he9z_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_1he9z_gg_,.___STitle_1he9z_gg_{display:flex;align-items:center}.___STitle_1he9z_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_1he9z_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_1he9z_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_1he9z_gg_ .___SInner_1he9z_gg_{justify-content:flex-start}.___SInputMask_1he9z_gg_{color:var(--intergalactic-text-primary, #191b23);line-height:normal}.___SIndicator_1he9z_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_1he9z_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_1he9z_gg_._range_value_1he9z_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_1he9z_gg_._range_compare_1he9z_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_1he9z_gg_.__disabled_1he9z_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_1he9z_gg_{position:absolute;pointer-events:none}.___SDateRange_1he9z_gg_ .___SMask_1he9z_gg_,.___SDateRange_1he9z_gg_ .___SValue_1he9z_gg_,.___SSingleDateInput_1he9z_gg_ .___SMask_1he9z_gg_,.___SSingleDateInput_1he9z_gg_ .___SValue_1he9z_gg_{opacity:0}.___SSingleDateInput_1he9z_gg_:focus-within .___SHumanizedDate_1he9z_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_1he9z_gg_:focus-within .___SMask_1he9z_gg_,.___SSingleDateInput_1he9z_gg_:focus-within .___SValue_1he9z_gg_{opacity:1}.___SDateRange_1he9z_gg_:focus-within .___SHumanizedDate_1he9z_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_1he9z_gg_:focus-within .___SMask_1he9z_gg_,.___SDateRange_1he9z_gg_:focus-within .___SValue_1he9z_gg_{opacity:1}.___SInputMask_1he9z_gg_.__noHumanizedDate_1he9z_gg_ .___SMask_1he9z_gg_,.___SInputMask_1he9z_gg_.__noHumanizedDate_1he9z_gg_ .___SValue_1he9z_gg_{opacity:1}.___SDateRange_1he9z_gg_ .___SInputMask_1he9z_gg_:focus-within .___SMask_1he9z_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_1he9z_gg_:focus-within .___SRangeSep_1he9z_gg_,.___SRangeSep_1he9z_gg_.__fulfilled_1he9z_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_1he9z_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_1he9z_gg_,.___SRangeComparatorHeader_1he9z_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_1he9z_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_1he9z_gg_,.___SPeriodsList_1he9z_gg_{padding:var(--intergalactic-spacing-4x, 16px)}" /*__inner_css_end__*/, "1he9z_gg_") /*__reshadow_css_end__*/, {
|
17
|
+
"__SHeader": "___SHeader_1he9z_gg_",
|
18
|
+
"__STitle": "___STitle_1he9z_gg_",
|
19
|
+
"__SToday": "___SToday_1he9z_gg_",
|
20
|
+
"__SPeriod": "___SPeriod_1he9z_gg_",
|
21
|
+
"__SButton": "___SButton_1he9z_gg_",
|
22
|
+
"__SInner": "___SInner_1he9z_gg_",
|
23
|
+
"__SInputMask": "___SInputMask_1he9z_gg_",
|
24
|
+
"__SIndicator": "___SIndicator_1he9z_gg_",
|
25
|
+
"__SRangeIndicator": "___SRangeIndicator_1he9z_gg_",
|
26
|
+
"_range_value": "_range_value_1he9z_gg_",
|
27
|
+
"_range_compare": "_range_compare_1he9z_gg_",
|
28
|
+
"_disabled": "__disabled_1he9z_gg_",
|
29
|
+
"__SHumanizedDate": "___SHumanizedDate_1he9z_gg_",
|
30
|
+
"__SSingleDateInput": "___SSingleDateInput_1he9z_gg_",
|
31
|
+
"__SValue": "___SValue_1he9z_gg_",
|
32
|
+
"__SDateRange": "___SDateRange_1he9z_gg_",
|
33
|
+
"__SMask": "___SMask_1he9z_gg_",
|
34
|
+
"_noHumanizedDate": "__noHumanizedDate_1he9z_gg_",
|
35
|
+
"__SRangeSep": "___SRangeSep_1he9z_gg_",
|
36
|
+
"_fulfilled": "__fulfilled_1he9z_gg_",
|
37
|
+
"__SRangeComparatorHeader": "___SRangeComparatorHeader_1he9z_gg_",
|
38
|
+
"__SRangeCalendar": "___SRangeCalendar_1he9z_gg_",
|
39
|
+
"__SFooter": "___SFooter_1he9z_gg_",
|
40
|
+
"__SPeriodsList": "___SPeriodsList_1he9z_gg_",
|
41
|
+
"__SPopper": "___SPopper_1he9z_gg_"
|
42
42
|
});
|
43
43
|
import includesDate from '../utils/includesDate';
|
44
44
|
var INTERACTION_TAGS = ['INPUT'];
|
@@ -20,32 +20,32 @@ import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
|
20
20
|
import { localizedMessages } from '../translations/__intergalactic-dynamic-locales';
|
21
21
|
import includesDate from '../utils/includesDate';
|
22
22
|
/*__reshadow-styles__:"../style/date-picker.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SHeader": "
|
25
|
-
"__STitle": "
|
26
|
-
"__SToday": "
|
27
|
-
"__SPeriod": "
|
28
|
-
"__SButton": "
|
29
|
-
"__SInner": "
|
30
|
-
"__SInputMask": "
|
31
|
-
"__SIndicator": "
|
32
|
-
"__SRangeIndicator": "
|
33
|
-
"_range_value": "
|
34
|
-
"_range_compare": "
|
35
|
-
"_disabled": "
|
36
|
-
"__SHumanizedDate": "
|
37
|
-
"__SSingleDateInput": "
|
38
|
-
"__SValue": "
|
39
|
-
"__SDateRange": "
|
40
|
-
"__SMask": "
|
41
|
-
"_noHumanizedDate": "
|
42
|
-
"__SRangeSep": "
|
43
|
-
"_fulfilled": "
|
44
|
-
"__SRangeComparatorHeader": "
|
45
|
-
"__SRangeCalendar": "
|
46
|
-
"__SFooter": "
|
47
|
-
"__SPeriodsList": "
|
48
|
-
"__SPopper": "
|
23
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPopper_1he9z_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_1he9z_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_1he9z_gg_:active,.___SPopper_1he9z_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_1he9z_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_1he9z_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_1he9z_gg_,.___STitle_1he9z_gg_{display:flex;align-items:center}.___STitle_1he9z_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_1he9z_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_1he9z_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_1he9z_gg_ .___SInner_1he9z_gg_{justify-content:flex-start}.___SInputMask_1he9z_gg_{color:var(--intergalactic-text-primary, #191b23);line-height:normal}.___SIndicator_1he9z_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_1he9z_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_1he9z_gg_._range_value_1he9z_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_1he9z_gg_._range_compare_1he9z_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_1he9z_gg_.__disabled_1he9z_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_1he9z_gg_{position:absolute;pointer-events:none}.___SDateRange_1he9z_gg_ .___SMask_1he9z_gg_,.___SDateRange_1he9z_gg_ .___SValue_1he9z_gg_,.___SSingleDateInput_1he9z_gg_ .___SMask_1he9z_gg_,.___SSingleDateInput_1he9z_gg_ .___SValue_1he9z_gg_{opacity:0}.___SSingleDateInput_1he9z_gg_:focus-within .___SHumanizedDate_1he9z_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_1he9z_gg_:focus-within .___SMask_1he9z_gg_,.___SSingleDateInput_1he9z_gg_:focus-within .___SValue_1he9z_gg_{opacity:1}.___SDateRange_1he9z_gg_:focus-within .___SHumanizedDate_1he9z_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_1he9z_gg_:focus-within .___SMask_1he9z_gg_,.___SDateRange_1he9z_gg_:focus-within .___SValue_1he9z_gg_{opacity:1}.___SInputMask_1he9z_gg_.__noHumanizedDate_1he9z_gg_ .___SMask_1he9z_gg_,.___SInputMask_1he9z_gg_.__noHumanizedDate_1he9z_gg_ .___SValue_1he9z_gg_{opacity:1}.___SDateRange_1he9z_gg_ .___SInputMask_1he9z_gg_:focus-within .___SMask_1he9z_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_1he9z_gg_:focus-within .___SRangeSep_1he9z_gg_,.___SRangeSep_1he9z_gg_.__fulfilled_1he9z_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_1he9z_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_1he9z_gg_,.___SRangeComparatorHeader_1he9z_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_1he9z_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_1he9z_gg_,.___SPeriodsList_1he9z_gg_{padding:var(--intergalactic-spacing-4x, 16px)}" /*__inner_css_end__*/, "1he9z_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SHeader": "___SHeader_1he9z_gg_",
|
25
|
+
"__STitle": "___STitle_1he9z_gg_",
|
26
|
+
"__SToday": "___SToday_1he9z_gg_",
|
27
|
+
"__SPeriod": "___SPeriod_1he9z_gg_",
|
28
|
+
"__SButton": "___SButton_1he9z_gg_",
|
29
|
+
"__SInner": "___SInner_1he9z_gg_",
|
30
|
+
"__SInputMask": "___SInputMask_1he9z_gg_",
|
31
|
+
"__SIndicator": "___SIndicator_1he9z_gg_",
|
32
|
+
"__SRangeIndicator": "___SRangeIndicator_1he9z_gg_",
|
33
|
+
"_range_value": "_range_value_1he9z_gg_",
|
34
|
+
"_range_compare": "_range_compare_1he9z_gg_",
|
35
|
+
"_disabled": "__disabled_1he9z_gg_",
|
36
|
+
"__SHumanizedDate": "___SHumanizedDate_1he9z_gg_",
|
37
|
+
"__SSingleDateInput": "___SSingleDateInput_1he9z_gg_",
|
38
|
+
"__SValue": "___SValue_1he9z_gg_",
|
39
|
+
"__SDateRange": "___SDateRange_1he9z_gg_",
|
40
|
+
"__SMask": "___SMask_1he9z_gg_",
|
41
|
+
"_noHumanizedDate": "__noHumanizedDate_1he9z_gg_",
|
42
|
+
"__SRangeSep": "___SRangeSep_1he9z_gg_",
|
43
|
+
"_fulfilled": "__fulfilled_1he9z_gg_",
|
44
|
+
"__SRangeComparatorHeader": "___SRangeComparatorHeader_1he9z_gg_",
|
45
|
+
"__SRangeCalendar": "___SRangeCalendar_1he9z_gg_",
|
46
|
+
"__SFooter": "___SFooter_1he9z_gg_",
|
47
|
+
"__SPeriodsList": "___SPeriodsList_1he9z_gg_",
|
48
|
+
"__SPopper": "___SPopper_1he9z_gg_"
|
49
49
|
});
|
50
50
|
var INTERACTION_TAGS = ['INPUT'];
|
51
51
|
var INTERACTION_KEYS = ['ArrowDown', 'Enter', 'Space'];
|
@@ -21,18 +21,18 @@ var _scrollArea = _interopRequireDefault(require("intergalactic/scroll-area"));
|
|
21
21
|
var _tag = _interopRequireDefault(require("intergalactic/tag"));
|
22
22
|
var _fire = _interopRequireDefault(require("intergalactic/utils/lib/fire"));
|
23
23
|
/*__reshadow-styles__:"./style/input-tag.shadow.css"*/
|
24
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
25
|
-
"__SInputTags": "
|
26
|
-
"__SContainer": "
|
27
|
-
"__SOutline": "
|
28
|
-
"_orientation_vertical": "
|
29
|
-
"_size_m": "
|
30
|
-
"_size_l": "
|
31
|
-
"__STag": "
|
32
|
-
"_editable": "
|
33
|
-
"__SValue": "
|
34
|
-
"__SSpacer": "
|
35
|
-
"__SListAriaWrapper": "
|
24
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SInputTags_klmt4_gg_{box-sizing:border-box;cursor:text;align-items:flex-start;overflow:visible;overflow:initial}.___SInputTags_klmt4_gg_ .___SContainer_klmt4_gg_:focus .___SOutline_klmt4_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInputTags_klmt4_gg_ .___SContainer_klmt4_gg_:focus:has(.___SOutline_klmt4_gg_)::after{box-shadow:none}.___SContainer_klmt4_gg_{padding:1px 0;box-sizing:border-box;border-bottom:1px solid transparent;border-top:1px solid transparent}.___SInputTags_klmt4_gg_>div>div{display:flex;align-items:center;flex-flow:row wrap}.___SInputTags_klmt4_gg_>div[data-ui-name=\"ScrollArea.Bar\"]._orientation_vertical_klmt4_gg_{right:1px!important}.___SInputTags_klmt4_gg_._size_m_klmt4_gg_{min-height:var(--intergalactic-form-control-m, 28px);height:auto;padding:0 calc(var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))}.___SInputTags_klmt4_gg_._size_l_klmt4_gg_{min-height:var(--intergalactic-form-control-l, 40px);height:auto;padding:0 calc(var(--intergalactic-spacing-2x, 8px) + var(--intergalactic-spacing-05x, 2px))}.___STag_klmt4_gg_{margin:var(--intergalactic-spacing-05x, 2px)}.___STag_klmt4_gg_.__editable_klmt4_gg_{cursor:pointer}.___SInputTags_klmt4_gg_._size_m_klmt4_gg_ .___SValue_klmt4_gg_{height:calc(var(--intergalactic-form-control-m, 28px) - var(--intergalactic-spacing-1x, 4px))}.___SInputTags_klmt4_gg_._size_l_klmt4_gg_ .___SValue_klmt4_gg_{height:calc(var(--intergalactic-form-control-l, 40px) - var(--intergalactic-spacing-1x, 4px))}.___SValue_klmt4_gg_{padding:0!important;margin-left:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-05x, 2px)}.___SSpacer_klmt4_gg_{position:absolute;top:0;left:0;visibility:hidden;height:0;overflow:scroll;white-space:pre;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;text-transform:inherit}.___SListAriaWrapper_klmt4_gg_{display:contents}" /*__inner_css_end__*/, "klmt4_gg_") /*__reshadow_css_end__*/, {
|
25
|
+
"__SInputTags": "___SInputTags_klmt4_gg_",
|
26
|
+
"__SContainer": "___SContainer_klmt4_gg_",
|
27
|
+
"__SOutline": "___SOutline_klmt4_gg_",
|
28
|
+
"_orientation_vertical": "_orientation_vertical_klmt4_gg_",
|
29
|
+
"_size_m": "_size_m_klmt4_gg_",
|
30
|
+
"_size_l": "_size_l_klmt4_gg_",
|
31
|
+
"__STag": "___STag_klmt4_gg_",
|
32
|
+
"_editable": "__editable_klmt4_gg_",
|
33
|
+
"__SValue": "___SValue_klmt4_gg_",
|
34
|
+
"__SSpacer": "___SSpacer_klmt4_gg_",
|
35
|
+
"__SListAriaWrapper": "___SListAriaWrapper_klmt4_gg_"
|
36
36
|
});
|
37
37
|
/** @deprecated */
|
38
38
|
var InputTags = /*#__PURE__*/function (_Component) {
|
@@ -41,7 +41,7 @@ SInputTags[size='m'] {
|
|
41
41
|
SInputTags[size='l'] {
|
42
42
|
min-height: var(--intergalactic-form-control-l, 40px);
|
43
43
|
height: auto;
|
44
|
-
padding:
|
44
|
+
padding: 0 calc(var(--intergalactic-spacing-2x, 8px) + var(--intergalactic-spacing-05x, 2px));
|
45
45
|
}
|
46
46
|
|
47
47
|
STag {
|
@@ -84,4 +84,4 @@ SSpacer {
|
|
84
84
|
|
85
85
|
SListAriaWrapper {
|
86
86
|
display: contents;
|
87
|
-
}
|
87
|
+
}
|
@@ -17,18 +17,18 @@ import ScrollArea from 'intergalactic/scroll-area';
|
|
17
17
|
import Tag from 'intergalactic/tag';
|
18
18
|
import fire from 'intergalactic/utils/lib/fire';
|
19
19
|
/*__reshadow-styles__:"./style/input-tag.shadow.css"*/
|
20
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
21
|
-
"__SInputTags": "
|
22
|
-
"__SContainer": "
|
23
|
-
"__SOutline": "
|
24
|
-
"_orientation_vertical": "
|
25
|
-
"_size_m": "
|
26
|
-
"_size_l": "
|
27
|
-
"__STag": "
|
28
|
-
"_editable": "
|
29
|
-
"__SValue": "
|
30
|
-
"__SSpacer": "
|
31
|
-
"__SListAriaWrapper": "
|
20
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SInputTags_klmt4_gg_{box-sizing:border-box;cursor:text;align-items:flex-start;overflow:visible;overflow:initial}.___SInputTags_klmt4_gg_ .___SContainer_klmt4_gg_:focus .___SOutline_klmt4_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInputTags_klmt4_gg_ .___SContainer_klmt4_gg_:focus:has(.___SOutline_klmt4_gg_)::after{box-shadow:none}.___SContainer_klmt4_gg_{padding:1px 0;box-sizing:border-box;border-bottom:1px solid transparent;border-top:1px solid transparent}.___SInputTags_klmt4_gg_>div>div{display:flex;align-items:center;flex-flow:row wrap}.___SInputTags_klmt4_gg_>div[data-ui-name=\"ScrollArea.Bar\"]._orientation_vertical_klmt4_gg_{right:1px!important}.___SInputTags_klmt4_gg_._size_m_klmt4_gg_{min-height:var(--intergalactic-form-control-m, 28px);height:auto;padding:0 calc(var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))}.___SInputTags_klmt4_gg_._size_l_klmt4_gg_{min-height:var(--intergalactic-form-control-l, 40px);height:auto;padding:0 calc(var(--intergalactic-spacing-2x, 8px) + var(--intergalactic-spacing-05x, 2px))}.___STag_klmt4_gg_{margin:var(--intergalactic-spacing-05x, 2px)}.___STag_klmt4_gg_.__editable_klmt4_gg_{cursor:pointer}.___SInputTags_klmt4_gg_._size_m_klmt4_gg_ .___SValue_klmt4_gg_{height:calc(var(--intergalactic-form-control-m, 28px) - var(--intergalactic-spacing-1x, 4px))}.___SInputTags_klmt4_gg_._size_l_klmt4_gg_ .___SValue_klmt4_gg_{height:calc(var(--intergalactic-form-control-l, 40px) - var(--intergalactic-spacing-1x, 4px))}.___SValue_klmt4_gg_{padding:0!important;margin-left:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-05x, 2px)}.___SSpacer_klmt4_gg_{position:absolute;top:0;left:0;visibility:hidden;height:0;overflow:scroll;white-space:pre;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;text-transform:inherit}.___SListAriaWrapper_klmt4_gg_{display:contents}" /*__inner_css_end__*/, "klmt4_gg_") /*__reshadow_css_end__*/, {
|
21
|
+
"__SInputTags": "___SInputTags_klmt4_gg_",
|
22
|
+
"__SContainer": "___SContainer_klmt4_gg_",
|
23
|
+
"__SOutline": "___SOutline_klmt4_gg_",
|
24
|
+
"_orientation_vertical": "_orientation_vertical_klmt4_gg_",
|
25
|
+
"_size_m": "_size_m_klmt4_gg_",
|
26
|
+
"_size_l": "_size_l_klmt4_gg_",
|
27
|
+
"__STag": "___STag_klmt4_gg_",
|
28
|
+
"_editable": "__editable_klmt4_gg_",
|
29
|
+
"__SValue": "___SValue_klmt4_gg_",
|
30
|
+
"__SSpacer": "___SSpacer_klmt4_gg_",
|
31
|
+
"__SListAriaWrapper": "___SListAriaWrapper_klmt4_gg_"
|
32
32
|
});
|
33
33
|
/** @deprecated */
|
34
34
|
var InputTags = /*#__PURE__*/function (_Component) {
|
@@ -41,7 +41,7 @@ SInputTags[size='m'] {
|
|
41
41
|
SInputTags[size='l'] {
|
42
42
|
min-height: var(--intergalactic-form-control-l, 40px);
|
43
43
|
height: auto;
|
44
|
-
padding:
|
44
|
+
padding: 0 calc(var(--intergalactic-spacing-2x, 8px) + var(--intergalactic-spacing-05x, 2px));
|
45
45
|
}
|
46
46
|
|
47
47
|
STag {
|
@@ -84,4 +84,4 @@ SSpacer {
|
|
84
84
|
|
85
85
|
SListAriaWrapper {
|
86
86
|
display: contents;
|
87
|
-
}
|
87
|
+
}
|
package/package.json
CHANGED
@@ -22,12 +22,12 @@ var _context = require("./context");
|
|
22
22
|
var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/i18nEnhance"));
|
23
23
|
var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
|
24
24
|
/*__reshadow-styles__:"./style/input-search.shadow.css"*/
|
25
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
26
|
-
"__SInputSearch": "
|
27
|
-
"_size_m": "
|
28
|
-
"__SSearchClear": "
|
29
|
-
"_hide": "
|
30
|
-
"__SOutline": "
|
25
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SInputSearch_12sm2_gg_._size_m_12sm2_gg_{height:32px}.___SSearchClear_12sm2_gg_.__hide_12sm2_gg_{visibility:hidden}.___SOutline_12sm2_gg_{top:-1px;left:-1px;width:100%;border-radius:var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0 0}" /*__inner_css_end__*/, "12sm2_gg_") /*__reshadow_css_end__*/, {
|
26
|
+
"__SInputSearch": "___SInputSearch_12sm2_gg_",
|
27
|
+
"_size_m": "_size_m_12sm2_gg_",
|
28
|
+
"__SSearchClear": "___SSearchClear_12sm2_gg_",
|
29
|
+
"_hide": "__hide_12sm2_gg_",
|
30
|
+
"__SOutline": "___SOutline_12sm2_gg_"
|
31
31
|
});
|
32
32
|
var InputSearchRoot = /*#__PURE__*/function (_Component) {
|
33
33
|
(0, _inherits2["default"])(InputSearchRoot, _Component);
|
package/select/lib/cjs/Select.js
CHANGED
@@ -36,15 +36,15 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
36
36
|
var _useFocusLock = require("intergalactic/utils/lib/use/useFocusLock");
|
37
37
|
var _excluded = ["Children", "options", "multiselect", "value", "uid", "forcedAdvancedMode"];
|
38
38
|
/*__reshadow-styles__:"./style/select.shadow.css"*/
|
39
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
40
|
-
"__SOptionCheckbox": "
|
41
|
-
"_checked": "
|
42
|
-
"_indeterminate": "
|
43
|
-
"_theme": "
|
44
|
-
"--theme": "--
|
45
|
-
"_size_l": "
|
46
|
-
"_size_m": "
|
47
|
-
"_selected": "
|
39
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SOptionCheckbox_gap2u_gg_{margin-top:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:auto;position:relative;flex-shrink:0;width:16px;height:16px}.___SOptionCheckbox_gap2u_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background:var(--intergalactic-bg-primary-neutral, #ffffff);border:1px solid;border-radius:var(--intergalactic-addon-rounded, 4px);border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SOptionCheckbox_gap2u_gg_::after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;margin:0 var(--intergalactic-spacing-05x, 2px);background-repeat:no-repeat;background-position:center center;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04LjI1IDFMNCA1LjI1TDEuNzUgMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gap2u_gg_._size_l_gap2u_gg_{width:20px;height:20px}.___SOptionCheckbox_gap2u_gg_._size_l_gap2u_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMSAxLjVMNC43NSA3Ljc1TDEgNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gap2u_gg_.__checked_gap2u_gg_:before,.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_:before{background-color:var(--intergalactic-control-primary-info, #008ff8);border-color:var(--intergalactic-control-primary-info, #008ff8)}.___SOptionCheckbox_gap2u_gg_.__theme_gap2u_gg_:before{border-color:var(--theme_gap2u)}.___SOptionCheckbox_gap2u_gg_.__theme_gap2u_gg_.__checked_gap2u_gg_:before{background-color:var(--theme_gap2u);border-color:var(--theme_gap2u)}.___SOptionCheckbox_gap2u_gg_.__selected_gap2u_gg_{background-color:var(--intergalactic-dropdown-menu-item-selected, rgba(196, 229, 254, 0.7))}@media (hover:hover){.___SOptionCheckbox_gap2u_gg_.__selected_gap2u_gg_:hover{background-color:var(--intergalactic-dropdown-menu-item-selected-hover, #c4e5fe)}}.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_:after{background-color:#fff;background-image:none;margin:auto;border-radius:1px}.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_._size_l_gap2u_gg_:after{width:12px;height:2px}.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_._size_m_gap2u_gg_:after{width:8px;height:2px}" /*__inner_css_end__*/, "gap2u_gg_") /*__reshadow_css_end__*/, {
|
40
|
+
"__SOptionCheckbox": "___SOptionCheckbox_gap2u_gg_",
|
41
|
+
"_checked": "__checked_gap2u_gg_",
|
42
|
+
"_indeterminate": "__indeterminate_gap2u_gg_",
|
43
|
+
"_theme": "__theme_gap2u_gg_",
|
44
|
+
"--theme": "--theme_gap2u",
|
45
|
+
"_size_l": "_size_l_gap2u_gg_",
|
46
|
+
"_size_m": "_size_m_gap2u_gg_",
|
47
|
+
"_selected": "__selected_gap2u_gg_"
|
48
48
|
});
|
49
49
|
function isSelectedOption(value, valueOption) {
|
50
50
|
return Array.isArray(value) ? value.includes(valueOption) : valueOption === value;
|
@@ -19,12 +19,12 @@ import { selectContext } from './context';
|
|
19
19
|
import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
20
20
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
21
21
|
/*__reshadow-styles__:"./style/input-search.shadow.css"*/
|
22
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
23
|
-
"__SInputSearch": "
|
24
|
-
"_size_m": "
|
25
|
-
"__SSearchClear": "
|
26
|
-
"_hide": "
|
27
|
-
"__SOutline": "
|
22
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SInputSearch_12sm2_gg_._size_m_12sm2_gg_{height:32px}.___SSearchClear_12sm2_gg_.__hide_12sm2_gg_{visibility:hidden}.___SOutline_12sm2_gg_{top:-1px;left:-1px;width:100%;border-radius:var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0 0}" /*__inner_css_end__*/, "12sm2_gg_") /*__reshadow_css_end__*/, {
|
23
|
+
"__SInputSearch": "___SInputSearch_12sm2_gg_",
|
24
|
+
"_size_m": "_size_m_12sm2_gg_",
|
25
|
+
"__SSearchClear": "___SSearchClear_12sm2_gg_",
|
26
|
+
"_hide": "__hide_12sm2_gg_",
|
27
|
+
"__SOutline": "___SOutline_12sm2_gg_"
|
28
28
|
});
|
29
29
|
var InputSearchRoot = /*#__PURE__*/function (_Component) {
|
30
30
|
_inherits(InputSearchRoot, _Component);
|
package/select/lib/es6/Select.js
CHANGED
@@ -33,15 +33,15 @@ import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
|
33
33
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
34
34
|
import { setFocus } from 'intergalactic/utils/lib/use/useFocusLock';
|
35
35
|
/*__reshadow-styles__:"./style/select.shadow.css"*/
|
36
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
37
|
-
"__SOptionCheckbox": "
|
38
|
-
"_checked": "
|
39
|
-
"_indeterminate": "
|
40
|
-
"_theme": "
|
41
|
-
"--theme": "--
|
42
|
-
"_size_l": "
|
43
|
-
"_size_m": "
|
44
|
-
"_selected": "
|
36
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SOptionCheckbox_gap2u_gg_{margin-top:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-2x, 8px);margin-bottom:auto;position:relative;flex-shrink:0;width:16px;height:16px}.___SOptionCheckbox_gap2u_gg_::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background:var(--intergalactic-bg-primary-neutral, #ffffff);border:1px solid;border-radius:var(--intergalactic-addon-rounded, 4px);border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SOptionCheckbox_gap2u_gg_::after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;margin:0 var(--intergalactic-spacing-05x, 2px);background-repeat:no-repeat;background-position:center center;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04LjI1IDFMNCA1LjI1TDEuNzUgMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gap2u_gg_._size_l_gap2u_gg_{width:20px;height:20px}.___SOptionCheckbox_gap2u_gg_._size_l_gap2u_gg_::after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMSAxLjVMNC43NSA3Ljc1TDEgNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==)}.___SOptionCheckbox_gap2u_gg_.__checked_gap2u_gg_:before,.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_:before{background-color:var(--intergalactic-control-primary-info, #008ff8);border-color:var(--intergalactic-control-primary-info, #008ff8)}.___SOptionCheckbox_gap2u_gg_.__theme_gap2u_gg_:before{border-color:var(--theme_gap2u)}.___SOptionCheckbox_gap2u_gg_.__theme_gap2u_gg_.__checked_gap2u_gg_:before{background-color:var(--theme_gap2u);border-color:var(--theme_gap2u)}.___SOptionCheckbox_gap2u_gg_.__selected_gap2u_gg_{background-color:var(--intergalactic-dropdown-menu-item-selected, rgba(196, 229, 254, 0.7))}@media (hover:hover){.___SOptionCheckbox_gap2u_gg_.__selected_gap2u_gg_:hover{background-color:var(--intergalactic-dropdown-menu-item-selected-hover, #c4e5fe)}}.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_:after{background-color:#fff;background-image:none;margin:auto;border-radius:1px}.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_._size_l_gap2u_gg_:after{width:12px;height:2px}.___SOptionCheckbox_gap2u_gg_.__indeterminate_gap2u_gg_._size_m_gap2u_gg_:after{width:8px;height:2px}" /*__inner_css_end__*/, "gap2u_gg_") /*__reshadow_css_end__*/, {
|
37
|
+
"__SOptionCheckbox": "___SOptionCheckbox_gap2u_gg_",
|
38
|
+
"_checked": "__checked_gap2u_gg_",
|
39
|
+
"_indeterminate": "__indeterminate_gap2u_gg_",
|
40
|
+
"_theme": "__theme_gap2u_gg_",
|
41
|
+
"--theme": "--theme_gap2u",
|
42
|
+
"_size_l": "_size_l_gap2u_gg_",
|
43
|
+
"_size_m": "_size_m_gap2u_gg_",
|
44
|
+
"_selected": "__selected_gap2u_gg_"
|
45
45
|
});
|
46
46
|
function isSelectedOption(value, valueOption) {
|
47
47
|
return Array.isArray(value) ? value.includes(valueOption) : valueOption === value;
|
@@ -29,18 +29,18 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
29
29
|
var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/i18nEnhance"));
|
30
30
|
var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/keyboardFocusEnhance"));
|
31
31
|
/*__reshadow-styles__:"./style/time-picker.shadow.css"*/
|
32
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
33
|
-
"__STimePicker": "
|
34
|
-
"_keyboardFocused": "
|
35
|
-
"_disabled": "
|
36
|
-
"__SPickerInput": "
|
37
|
-
"_size_m": "
|
38
|
-
"_size_l": "
|
39
|
-
"__SPickerFormat": "
|
40
|
-
"__STimePickerSeparator": "
|
41
|
-
"_placeholder": "
|
42
|
-
"_active": "
|
43
|
-
"__SPickerFormatText": "
|
32
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___STimePicker_1tddv_gg_{position:relative;width:auto;outline:0}.___STimePicker_1tddv_gg_.__keyboardFocused_1tddv_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___STimePicker_1tddv_gg_.__disabled_1tddv_gg_{color:var(--intergalactic-text-secondary, #6c6e79);cursor:default}.___SPickerInput_1tddv_gg_{box-sizing:content-box;text-align:center;z-index:1;height:1.5em}.___SPickerInput_1tddv_gg_.__placeholder_1tddv_gg_{text-overflow:initial}.___SPickerInput_1tddv_gg_:focus{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SPickerInput_1tddv_gg_._size_l_1tddv_gg_,.___SPickerInput_1tddv_gg_._size_m_1tddv_gg_{width:19px;margin:0 var(--intergalactic-spacing-2x, 8px);padding:0}.___SPickerInput_1tddv_gg_._size_l_1tddv_gg_{width:21px}.___SPickerFormat_1tddv_gg_{flex-shrink:0;position:relative;display:inline-flex;padding:0;white-space:nowrap;font-family:inherit;font-weight:var(--intergalactic-medium, 500);line-height:normal;-webkit-text-decoration:none;text-decoration:none;align-items:center;border:1px solid var(--intergalactic-border-primary, #c4c7cf);border-radius:0 var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:var(--intergalactic-text-secondary, #6c6e79);background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}@media (hover:hover){.___SPickerFormat_1tddv_gg_:hover{color:var(--intergalactic-text-secondary, #6c6e79);background-color:var(--intergalactic-bg-secondary-neutral-hover, #e0e1e9)}}.___SPickerFormat_1tddv_gg_.__active_1tddv_gg_,.___SPickerFormat_1tddv_gg_:active{color:var(--intergalactic-text-secondary, #6c6e79);background-color:var(--intergalactic-bg-secondary-neutral-active, #c4c7cf)}.___SPickerFormat_1tddv_gg_._size_m_1tddv_gg_{height:var(--intergalactic-form-control-m, 28px);font-size:var(--intergalactic-fs-200, 14px);margin:0-1px 0 0}.___SPickerFormat_1tddv_gg_._size_m_1tddv_gg_ .___SPickerFormatText_1tddv_gg_{margin:0 var(--intergalactic-spacing-2x, 8px)}.___SPickerFormat_1tddv_gg_._size_l_1tddv_gg_{height:var(--intergalactic-form-control-l, 40px);font-size:var(--intergalactic-fs-300, 16px);margin:0 calc(-1*var(--intergalactic-spacing-1x, 4px))0 0}.___SPickerFormat_1tddv_gg_._size_l_1tddv_gg_ .___SPickerFormatText_1tddv_gg_{margin:0 var(--intergalactic-spacing-3x, 12px)}.___SPickerFormat_1tddv_gg_.__disabled_1tddv_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none;border-color:transparent transparent transparent var(--intergalactic-border-primary, #c4c7cf)}.___SPickerFormat_1tddv_gg_.__keyboardFocused_1tddv_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___STimePickerSeparator_1tddv_gg_{color:var(--intergalactic-text-primary, #191b23)}.___STimePickerSeparator_1tddv_gg_.__disabled_1tddv_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);pointer-events:none}" /*__inner_css_end__*/, "1tddv_gg_") /*__reshadow_css_end__*/, {
|
33
|
+
"__STimePicker": "___STimePicker_1tddv_gg_",
|
34
|
+
"_keyboardFocused": "__keyboardFocused_1tddv_gg_",
|
35
|
+
"_disabled": "__disabled_1tddv_gg_",
|
36
|
+
"__SPickerInput": "___SPickerInput_1tddv_gg_",
|
37
|
+
"_size_m": "_size_m_1tddv_gg_",
|
38
|
+
"_size_l": "_size_l_1tddv_gg_",
|
39
|
+
"__SPickerFormat": "___SPickerFormat_1tddv_gg_",
|
40
|
+
"__STimePickerSeparator": "___STimePickerSeparator_1tddv_gg_",
|
41
|
+
"_placeholder": "__placeholder_1tddv_gg_",
|
42
|
+
"_active": "__active_1tddv_gg_",
|
43
|
+
"__SPickerFormatText": "___SPickerFormatText_1tddv_gg_"
|
44
44
|
});
|
45
45
|
var MAP_MERIDIEM = {
|
46
46
|
AM: 'PM',
|
@@ -18,18 +18,18 @@ import Format from './PickerFormat';
|
|
18
18
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
19
19
|
import i18nEnhance from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
20
20
|
/*__reshadow-styles__:"./style/time-picker.shadow.css"*/
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
22
|
-
"__STimePicker": "
|
23
|
-
"_keyboardFocused": "
|
24
|
-
"_disabled": "
|
25
|
-
"__SPickerInput": "
|
26
|
-
"_size_m": "
|
27
|
-
"_size_l": "
|
28
|
-
"__SPickerFormat": "
|
29
|
-
"__STimePickerSeparator": "
|
30
|
-
"_placeholder": "
|
31
|
-
"_active": "
|
32
|
-
"__SPickerFormatText": "
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STimePicker_1tddv_gg_{position:relative;width:auto;outline:0}.___STimePicker_1tddv_gg_.__keyboardFocused_1tddv_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___STimePicker_1tddv_gg_.__disabled_1tddv_gg_{color:var(--intergalactic-text-secondary, #6c6e79);cursor:default}.___SPickerInput_1tddv_gg_{box-sizing:content-box;text-align:center;z-index:1;height:1.5em}.___SPickerInput_1tddv_gg_.__placeholder_1tddv_gg_{text-overflow:initial}.___SPickerInput_1tddv_gg_:focus{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SPickerInput_1tddv_gg_._size_l_1tddv_gg_,.___SPickerInput_1tddv_gg_._size_m_1tddv_gg_{width:19px;margin:0 var(--intergalactic-spacing-2x, 8px);padding:0}.___SPickerInput_1tddv_gg_._size_l_1tddv_gg_{width:21px}.___SPickerFormat_1tddv_gg_{flex-shrink:0;position:relative;display:inline-flex;padding:0;white-space:nowrap;font-family:inherit;font-weight:var(--intergalactic-medium, 500);line-height:normal;-webkit-text-decoration:none;text-decoration:none;align-items:center;border:1px solid var(--intergalactic-border-primary, #c4c7cf);border-radius:0 var(--intergalactic-control-rounded, 6px) var(--intergalactic-control-rounded, 6px)0;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:var(--intergalactic-text-secondary, #6c6e79);background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}@media (hover:hover){.___SPickerFormat_1tddv_gg_:hover{color:var(--intergalactic-text-secondary, #6c6e79);background-color:var(--intergalactic-bg-secondary-neutral-hover, #e0e1e9)}}.___SPickerFormat_1tddv_gg_.__active_1tddv_gg_,.___SPickerFormat_1tddv_gg_:active{color:var(--intergalactic-text-secondary, #6c6e79);background-color:var(--intergalactic-bg-secondary-neutral-active, #c4c7cf)}.___SPickerFormat_1tddv_gg_._size_m_1tddv_gg_{height:var(--intergalactic-form-control-m, 28px);font-size:var(--intergalactic-fs-200, 14px);margin:0-1px 0 0}.___SPickerFormat_1tddv_gg_._size_m_1tddv_gg_ .___SPickerFormatText_1tddv_gg_{margin:0 var(--intergalactic-spacing-2x, 8px)}.___SPickerFormat_1tddv_gg_._size_l_1tddv_gg_{height:var(--intergalactic-form-control-l, 40px);font-size:var(--intergalactic-fs-300, 16px);margin:0 calc(-1*var(--intergalactic-spacing-1x, 4px))0 0}.___SPickerFormat_1tddv_gg_._size_l_1tddv_gg_ .___SPickerFormatText_1tddv_gg_{margin:0 var(--intergalactic-spacing-3x, 12px)}.___SPickerFormat_1tddv_gg_.__disabled_1tddv_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none;border-color:transparent transparent transparent var(--intergalactic-border-primary, #c4c7cf)}.___SPickerFormat_1tddv_gg_.__keyboardFocused_1tddv_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___STimePickerSeparator_1tddv_gg_{color:var(--intergalactic-text-primary, #191b23)}.___STimePickerSeparator_1tddv_gg_.__disabled_1tddv_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);pointer-events:none}" /*__inner_css_end__*/, "1tddv_gg_") /*__reshadow_css_end__*/, {
|
22
|
+
"__STimePicker": "___STimePicker_1tddv_gg_",
|
23
|
+
"_keyboardFocused": "__keyboardFocused_1tddv_gg_",
|
24
|
+
"_disabled": "__disabled_1tddv_gg_",
|
25
|
+
"__SPickerInput": "___SPickerInput_1tddv_gg_",
|
26
|
+
"_size_m": "_size_m_1tddv_gg_",
|
27
|
+
"_size_l": "_size_l_1tddv_gg_",
|
28
|
+
"__SPickerFormat": "___SPickerFormat_1tddv_gg_",
|
29
|
+
"__STimePickerSeparator": "___STimePickerSeparator_1tddv_gg_",
|
30
|
+
"_placeholder": "__placeholder_1tddv_gg_",
|
31
|
+
"_active": "__active_1tddv_gg_",
|
32
|
+
"__SPickerFormatText": "___SPickerFormatText_1tddv_gg_"
|
33
33
|
});
|
34
34
|
import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
35
35
|
var MAP_MERIDIEM = {
|
package/typography/index.d.ts
CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { PropGetterFn, UnknownProperties, Intergalactic } from 'intergalactic/core';
|
3
3
|
|
4
4
|
import { Property } from 'csstype';
|
5
|
-
import { Box, BoxProps, Flex } from 'intergalactic/flex-box';
|
5
|
+
import { Box, BoxProps, Flex, FlexProps } from 'intergalactic/flex-box';
|
6
6
|
import { KeyboardFocusProps } from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
7
7
|
|
8
8
|
/** @deprecated */
|
@@ -63,6 +63,8 @@ export type ListItemProps = TextProps & {
|
|
63
63
|
marker?: React.ReactNode;
|
64
64
|
};
|
65
65
|
|
66
|
+
export type ListItemContentProps = FlexProps;
|
67
|
+
|
66
68
|
/** @deprecated */
|
67
69
|
export interface IListContext extends ListContext, UnknownProperties {}
|
68
70
|
export type ListContext = {
|
@@ -98,7 +100,7 @@ declare const Hint: Intergalactic.Component<'abbr', HintProps> & {
|
|
98
100
|
};
|
99
101
|
|
100
102
|
declare const Item: Intergalactic.Component<'li', ListItemProps> & {
|
101
|
-
Content: typeof Flex
|
103
|
+
Content: Intergalactic.Component<typeof Flex, ListItemContentProps>;
|
102
104
|
};
|
103
105
|
|
104
106
|
declare const List: Intergalactic.Component<'ul', ListProps> & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: typeof Flex
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex, FlexProps } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\nexport type ListItemContentProps = FlexProps;\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: Intergalactic.Component<typeof Flex, ListItemContentProps>;\n};\n\ndeclare const List: Intergalactic.Component<'ul', ListProps> & {\n Item: typeof Item;\n};\n\ndeclare const Text: Intergalactic.Component<'span', TextProps>;\n\ndeclare const Blockquote: Intergalactic.Component<'blockquote', BlockquoteProps>;\n\nexport { Text, List, Hint, Blockquote };\n"],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: typeof Flex
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex, FlexProps } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\nexport type ListItemContentProps = FlexProps;\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: Intergalactic.Component<typeof Flex, ListItemContentProps>;\n};\n\ndeclare const List: Intergalactic.Component<'ul', ListProps> & {\n Item: typeof Item;\n};\n\ndeclare const Text: Intergalactic.Component<'span', TextProps>;\n\ndeclare const Blockquote: Intergalactic.Component<'blockquote', BlockquoteProps>;\n\nexport { Text, List, Hint, Blockquote };\n"],"mappings":""}
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { PropGetterFn, UnknownProperties, Intergalactic } from 'intergalactic/core';
|
3
3
|
|
4
4
|
import { Property } from 'csstype';
|
5
|
-
import { Box, BoxProps, Flex } from 'intergalactic/flex-box';
|
5
|
+
import { Box, BoxProps, Flex, FlexProps } from 'intergalactic/flex-box';
|
6
6
|
import { KeyboardFocusProps } from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
7
7
|
|
8
8
|
/** @deprecated */
|
@@ -63,6 +63,8 @@ export type ListItemProps = TextProps & {
|
|
63
63
|
marker?: React.ReactNode;
|
64
64
|
};
|
65
65
|
|
66
|
+
export type ListItemContentProps = FlexProps;
|
67
|
+
|
66
68
|
/** @deprecated */
|
67
69
|
export interface IListContext extends ListContext, UnknownProperties {}
|
68
70
|
export type ListContext = {
|
@@ -98,7 +100,7 @@ declare const Hint: Intergalactic.Component<'abbr', HintProps> & {
|
|
98
100
|
};
|
99
101
|
|
100
102
|
declare const Item: Intergalactic.Component<'li', ListItemProps> & {
|
101
|
-
Content: typeof Flex
|
103
|
+
Content: Intergalactic.Component<typeof Flex, ListItemContentProps>;
|
102
104
|
};
|
103
105
|
|
104
106
|
declare const List: Intergalactic.Component<'ul', ListProps> & {
|