@ssa-ui-kit/core 3.13.1 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +20 -18
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -16763,7 +16763,9 @@ const TextareaBase = /*#__PURE__*/base_default()('textarea', true ? {
|
|
|
16763
16763
|
}) => getStatusBorderColor(theme, status, 'hover'), ";}&:focus:not(:disabled, [readonly]){border-color:", ({
|
|
16764
16764
|
theme,
|
|
16765
16765
|
status = 'basic'
|
|
16766
|
-
}) => getStatusBorderColor(theme, status, 'focus'), ";}
|
|
16766
|
+
}) => getStatusBorderColor(theme, status, 'focus'), ";}&:focus:not(:disabled, [readonly])::placeholder{color:", ({
|
|
16767
|
+
theme
|
|
16768
|
+
}) => theme.colors.greyDarker60, ";}" + ( true ? "" : 0));
|
|
16767
16769
|
;// ./src/components/Textarea/Textarea.tsx
|
|
16768
16770
|
|
|
16769
16771
|
|
|
@@ -20533,7 +20535,7 @@ function Typeahead_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tr
|
|
|
20533
20535
|
// https://github.com/ssagroup/ui-kit/issues/385
|
|
20534
20536
|
const TypeaheadOptionsBase = /*#__PURE__*/base_default()("ul", true ? {
|
|
20535
20537
|
target: "e1vig1dw7"
|
|
20536
|
-
} : 0)("padding:
|
|
20538
|
+
} : 0)("padding:4px;margin:0;list-style:none;background:", ({
|
|
20537
20539
|
theme
|
|
20538
20540
|
}) => theme.colors.white, ";border-radius:8px;filter:", ({
|
|
20539
20541
|
theme
|
|
@@ -20542,14 +20544,14 @@ const TypeaheadOptionsBase = /*#__PURE__*/base_default()("ul", true ? {
|
|
|
20542
20544
|
}) => `drop-shadow(-4px 4px 14px ${theme.colors.greyDarker14})`, ";overflow-y:auto;max-height:350px;" + ( true ? "" : 0));
|
|
20543
20545
|
const TypeaheadOption = /*#__PURE__*/base_default()("li", true ? {
|
|
20544
20546
|
target: "e1vig1dw6"
|
|
20545
|
-
} : 0)("display:flex;align-items:center;border:none;cursor:pointer;font-size:14px;gap:8px;padding:
|
|
20547
|
+
} : 0)("display:flex;align-items:center;border:none;cursor:pointer;font-size:14px;font-weight:500;gap:8px;padding:8px 12px;min-height:40px;line-height:18px;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;background:", ({
|
|
20546
20548
|
isActive,
|
|
20547
20549
|
theme
|
|
20548
|
-
}) => isActive ? theme.colors.
|
|
20550
|
+
}) => isActive ? theme.colors.blue12 : 'none', ";&:hover{background:", ({
|
|
20549
20551
|
theme
|
|
20550
|
-
}) => theme.colors.
|
|
20552
|
+
}) => theme.colors.blue12, ";}" + ( true ? "" : 0));
|
|
20551
20553
|
const TypeaheadInput = theme => /*#__PURE__*/(0,css_namespaceObject.css)("&.typeahead-input{flex:1;width:100%;color:", theme.colors.greyDarker, ";border:none;border-radius:0;height:32px;cursor:pointer;padding:0;background:transparent;text-indent:8px;&:active,&:focus{min-width:100%;}}" + ( true ? "" : 0), true ? "" : 0);
|
|
20552
|
-
const TypeaheadInputPlaceholder = theme => /*#__PURE__*/(0,css_namespaceObject.css)("position:absolute;top:0;left:-4px;font-weight:400;font-size:0.875rem;line-height:1rem;color:", theme.colors.
|
|
20554
|
+
const TypeaheadInputPlaceholder = theme => /*#__PURE__*/(0,css_namespaceObject.css)("position:absolute;top:0;left:-4px;font-weight:400;font-size:0.875rem;line-height:1rem;color:", theme.colors.greyDarker80, ";&:disabled:hover{cursor:default;}" + ( true ? "" : 0), true ? "" : 0);
|
|
20553
20555
|
const TypeaheadInputWrapper = /*#__PURE__*/(0,css_namespaceObject.css)( true ? {
|
|
20554
20556
|
name: "16adhtk",
|
|
20555
20557
|
styles: "flex:1;width:100%;height:32px;z-index:5;background:transparent;margin-left:-8px;&:active,&:focus{min-width:100%;}"
|
|
@@ -20565,7 +20567,7 @@ const TypeaheadItem = /*#__PURE__*/base_default()("div", true ? {
|
|
|
20565
20567
|
}) => isCustomValue ? theme.palette.primary.main : theme.colors.grey, ";color:", ({
|
|
20566
20568
|
theme,
|
|
20567
20569
|
isDisabled
|
|
20568
|
-
}) => isDisabled ? theme.colors.grey : theme.colors.greyDarker, ";font-weight:500;font-size:
|
|
20570
|
+
}) => isDisabled ? theme.colors.grey : theme.colors.greyDarker, ";font-weight:500;font-size:12px;line-height:16px;min-height:20px;align-items:center;padding:4px 8px 4px 12px;user-select:none;overflow:hidden;" + ( true ? "" : 0));
|
|
20569
20571
|
const TypeaheadItemAvatar = /*#__PURE__*/base_default()("span", true ? {
|
|
20570
20572
|
target: "e1vig1dw4"
|
|
20571
20573
|
} : 0)( true ? {
|
|
@@ -20578,15 +20580,15 @@ const TypeaheadItemLabel = /*#__PURE__*/base_default()("div", true ? {
|
|
|
20578
20580
|
theme,
|
|
20579
20581
|
isDisabled,
|
|
20580
20582
|
isCustomValue
|
|
20581
|
-
}) => isDisabled ? theme.colors.grey : isCustomValue ? theme.palette.primary.main : theme.colors.greyDarker, ";font-size:
|
|
20583
|
+
}) => isDisabled ? theme.colors.grey : isCustomValue ? theme.palette.primary.main : theme.colors.greyDarker, ";font-size:12px;font-weight:500;display:flex;align-items:center;cursor:default;overflow:hidden;text-overflow:ellipsis;" + ( true ? "" : 0));
|
|
20582
20584
|
const TypeaheadItemCross = /*#__PURE__*/base_default()(Button_Button, true ? {
|
|
20583
20585
|
target: "e1vig1dw2"
|
|
20584
|
-
} : 0)("background:none;padding:0
|
|
20586
|
+
} : 0)("background:none;padding:0;height:auto;&:active,&:focus,&:hover{cursor:", ({
|
|
20585
20587
|
isDisabled
|
|
20586
20588
|
}) => isDisabled ? 'default' : 'pointer', ";background:none;box-shadow:none;}&:disabled{background:none;}" + ( true ? "" : 0));
|
|
20587
20589
|
const TypeaheadInputsGroupWrapper = /*#__PURE__*/base_default()(Wrapper_Wrapper, true ? {
|
|
20588
20590
|
target: "e1vig1dw1"
|
|
20589
|
-
} : 0)("position:relative;flex:1 1 0;min-width:", ({
|
|
20591
|
+
} : 0)("position:relative;flex:1 1 0;min-height:32px;min-width:", ({
|
|
20590
20592
|
isOpen
|
|
20591
20593
|
}) => isOpen ? '50px' : 'auto', ";flex-direction:column!important;" + ( true ? "" : 0));
|
|
20592
20594
|
const TypeaheadTrigger = /*#__PURE__*/base_default()(PopoverTrigger, true ? {
|
|
@@ -20596,17 +20598,17 @@ const TypeaheadTrigger = /*#__PURE__*/base_default()(PopoverTrigger, true ? {
|
|
|
20596
20598
|
theme
|
|
20597
20599
|
}) => status === 'basic' ? theme.colors.grey : status === 'error' ? theme.palette.error.light : theme.palette.success.light, ";min-height:44px;height:auto;background:", ({
|
|
20598
20600
|
theme
|
|
20599
|
-
}) => theme.colors.white, ";gap:8px;padding:5px 28px 5px
|
|
20601
|
+
}) => theme.colors.white, ";gap:8px;padding:5px 28px 5px 14px;width:100%;flex-wrap:wrap;border-color:", ({
|
|
20600
20602
|
isOpen,
|
|
20601
20603
|
theme,
|
|
20602
20604
|
status
|
|
20603
|
-
}) => isOpen && (status === 'error' ? theme.palette.error.dark : status === 'success' ? theme.palette.success.dark : theme.palette.primary.
|
|
20605
|
+
}) => isOpen && (status === 'error' ? theme.palette.error.dark : status === 'success' ? theme.palette.success.dark : theme.palette.primary.light), ";background:", ({
|
|
20604
20606
|
isDisabled,
|
|
20605
20607
|
theme
|
|
20606
|
-
}) => isDisabled ? theme.
|
|
20608
|
+
}) => isDisabled ? theme.palette.secondary.light : theme.colors.white, ";&:active,&:focus,&:hover{background:", ({
|
|
20607
20609
|
isDisabled,
|
|
20608
20610
|
theme
|
|
20609
|
-
}) => isDisabled ? theme.
|
|
20611
|
+
}) => isDisabled ? theme.palette.secondary.light : theme.colors.white, ";box-shadow:none;}&:hover{border-color:", ({
|
|
20610
20612
|
isDisabled,
|
|
20611
20613
|
theme,
|
|
20612
20614
|
status
|
|
@@ -20615,7 +20617,7 @@ const TypeaheadTrigger = /*#__PURE__*/base_default()(PopoverTrigger, true ? {
|
|
|
20615
20617
|
}) => isDisabled ? 'default' : 'pointer', ";}&:focus,&:active{border-color:", ({
|
|
20616
20618
|
theme,
|
|
20617
20619
|
status
|
|
20618
|
-
}) => status === 'error' ? theme.palette.error.dark : status === 'success' ? theme.palette.success.dark : theme.palette.primary.
|
|
20620
|
+
}) => status === 'error' ? theme.palette.error.dark : status === 'success' ? theme.palette.success.dark : theme.palette.primary.light, ";", ({
|
|
20619
20621
|
isDisabled,
|
|
20620
20622
|
theme
|
|
20621
20623
|
}) => isDisabled && {
|
|
@@ -20669,7 +20671,7 @@ const MultipleTrigger = () => {
|
|
|
20669
20671
|
endIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
20670
20672
|
name: "cross",
|
|
20671
20673
|
tooltip: "Remove",
|
|
20672
|
-
size:
|
|
20674
|
+
size: 12,
|
|
20673
20675
|
color: context.isDisabled ? theme.colors.grey : isCustomValue ? theme.palette.primary.main : theme.colors.greyDarker,
|
|
20674
20676
|
css: MultipleTrigger_ref
|
|
20675
20677
|
}),
|
|
@@ -21217,8 +21219,8 @@ const TypeaheadItemImage = /*#__PURE__*/base_default()("img", true ? {
|
|
|
21217
21219
|
const TypeaheadItemIcon = /*#__PURE__*/base_default()(Icon_Icon, true ? {
|
|
21218
21220
|
target: "e1rxxx7l0"
|
|
21219
21221
|
} : 0)( true ? {
|
|
21220
|
-
name: "
|
|
21221
|
-
styles: "width:
|
|
21222
|
+
name: "1f9ilba",
|
|
21223
|
+
styles: "width:16px;height:16px;border-radius:50%;margin-right:6px;vertical-align:middle"
|
|
21222
21224
|
} : 0);
|
|
21223
21225
|
;// ./src/components/Typeahead/utils.tsx
|
|
21224
21226
|
|