@kubed/components 0.0.37 → 0.0.40
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 +25 -0
- package/cjs/Badge/Badge.js +1 -1
- package/cjs/Badge/Badge.js.map +1 -1
- package/cjs/Button/Button.styles.js +11 -13
- package/cjs/Button/Button.styles.js.map +1 -1
- package/cjs/Checkbox/CheckboxGroup.js +1 -1
- package/cjs/Checkbox/CheckboxGroup.js.map +1 -1
- package/cjs/Descriptions/Descriptions.js +1 -1
- package/cjs/Descriptions/Descriptions.js.map +1 -1
- package/cjs/ShowMore/ShowMore.js +11 -0
- package/cjs/ShowMore/ShowMore.js.map +1 -0
- package/cjs/Tabs/Tabs.js +1 -1
- package/cjs/Tabs/Tabs.js.map +1 -1
- package/cjs/Tabs/Tabs.styles.js +12 -12
- package/cjs/Tabs/Tabs.styles.js.map +1 -1
- package/cjs/TypeSelect/TypeSelect.styles.js +12 -10
- package/cjs/TypeSelect/TypeSelect.styles.js.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/esm/Badge/Badge.js +1 -1
- package/esm/Badge/Badge.js.map +1 -1
- package/esm/Button/Button.styles.js +40 -42
- package/esm/Button/Button.styles.js.map +1 -1
- package/esm/Checkbox/CheckboxGroup.js +1 -1
- package/esm/Checkbox/CheckboxGroup.js.map +1 -1
- package/esm/Descriptions/Descriptions.js +1 -1
- package/esm/Descriptions/Descriptions.js.map +1 -1
- package/esm/ShowMore/ShowMore.js +11 -0
- package/esm/ShowMore/ShowMore.js.map +1 -0
- package/esm/Tabs/Tabs.js +1 -1
- package/esm/Tabs/Tabs.js.map +1 -1
- package/esm/Tabs/Tabs.styles.js +30 -30
- package/esm/Tabs/Tabs.styles.js.map +1 -1
- package/esm/TypeSelect/TypeSelect.styles.js +2 -0
- package/esm/TypeSelect/TypeSelect.styles.js.map +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/lib/src/Checkbox/CheckboxGroup.d.ts +1 -0
- package/lib/src/Checkbox/CheckboxGroup.d.ts.map +1 -1
- package/lib/src/Descriptions/Descriptions.d.ts.map +1 -1
- package/lib/src/ShowMore/ShowMore.d.ts +2 -2
- package/lib/src/ShowMore/ShowMore.d.ts.map +1 -1
- package/lib/src/Tabs/Tabs.d.ts.map +1 -1
- package/lib/src/Tabs/Tabs.styles.d.ts +1 -1
- package/lib/src/Tabs/Tabs.styles.d.ts.map +1 -1
- package/lib/src/TypeSelect/TypeSelect.styles.d.ts.map +1 -1
- package/lib/src/index.d.ts +40 -39
- package/lib/src/index.d.ts.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/esm/Tabs/Tabs.styles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import l,{css as n}from"styled-components";import p from"../theme/utils.js";const{getSizeValue:d}=p,c=0,b={xs:{fontSize:"10px",height:"26px"},sm:{fontSize:"12px",height:"28px"},md:{fontSize:"14px",height:"36px"},lg:{fontSize:"16px",height:"48px"},xl:{fontSize:"18px",height:"56px"}},x=(t,r)=>{const{palette:e}=r;return e[t]?e[t]:e.colors[t]?e.colors[t][2]:e.accents_7},f=(t,r,e,i)=>{const o=`1px solid ${r.palette.border}`;if(e==="vertical"){if(i==="left")return n`
|
|
2
2
|
border-right: ${o};
|
|
3
3
|
|
|
4
4
|
.tab-item {
|
|
@@ -32,7 +32,7 @@ import s,{css as n}from"styled-components";import g from"../theme/utils.js";cons
|
|
|
32
32
|
width: 100%;
|
|
33
33
|
margin-bottom: -1px;
|
|
34
34
|
}
|
|
35
|
-
`},
|
|
35
|
+
`},u=(t,r,e,i)=>{const o=`1px solid ${r.palette.border}`;if(e==="vertical"){if(i==="left")return n`
|
|
36
36
|
border-right: ${o};
|
|
37
37
|
|
|
38
38
|
.tab-item {
|
|
@@ -59,11 +59,11 @@ import s,{css as n}from"styled-components";import g from"../theme/utils.js";cons
|
|
|
59
59
|
.tab-group {
|
|
60
60
|
width: 100%;
|
|
61
61
|
}
|
|
62
|
-
`},
|
|
62
|
+
`},h=(t,r,e,i,o,a)=>{const{palette:s,layout:g}=r;return t==="pills"?n`
|
|
63
63
|
padding: 1px;
|
|
64
|
-
border-radius: ${
|
|
65
|
-
background-color: ${
|
|
66
|
-
border: 1px solid ${
|
|
64
|
+
border-radius: ${d(e,g.radius)};
|
|
65
|
+
background-color: ${s.accents_0};
|
|
66
|
+
border: 1px solid ${s.border};
|
|
67
67
|
|
|
68
68
|
.tab-item {
|
|
69
69
|
font-weight: 500;
|
|
@@ -72,11 +72,11 @@ import s,{css as n}from"styled-components";import g from"../theme/utils.js";cons
|
|
|
72
72
|
|
|
73
73
|
.tab-item__active {
|
|
74
74
|
label {
|
|
75
|
-
color: ${
|
|
75
|
+
color: ${s.background};
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
`:t==="outline"?n`
|
|
79
|
-
${
|
|
79
|
+
${f(t,r,i,o)};
|
|
80
80
|
|
|
81
81
|
.tab-item {
|
|
82
82
|
padding: 0 15px;
|
|
@@ -89,14 +89,14 @@ import s,{css as n}from"styled-components";import g from"../theme/utils.js";cons
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.tab-item__active {
|
|
92
|
-
background-color: ${
|
|
93
|
-
border-color: ${
|
|
92
|
+
background-color: ${s.background};
|
|
93
|
+
border-color: ${s.border};
|
|
94
94
|
label {
|
|
95
|
-
color: ${
|
|
95
|
+
color: ${s.accents_8};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
`:n`
|
|
99
|
-
${
|
|
99
|
+
${u(t,r,i,o)};
|
|
100
100
|
|
|
101
101
|
.tab-item {
|
|
102
102
|
&:first-of-type {
|
|
@@ -106,21 +106,21 @@ import s,{css as n}from"styled-components";import g from"../theme/utils.js";cons
|
|
|
106
106
|
|
|
107
107
|
.tab-item__active {
|
|
108
108
|
label {
|
|
109
|
-
color: ${a.
|
|
109
|
+
color: ${a?p.getColor(a,r):s.accents_7};
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
`},m=(t,r,e,i)=>{const o=
|
|
112
|
+
`},m=(t,r,e,i)=>{const o=d(e,i.layout.spacing);return t==="horizontal"?n`
|
|
113
113
|
padding-top: ${o};
|
|
114
114
|
`:n`
|
|
115
115
|
padding-${r}: ${o};
|
|
116
|
-
`}
|
|
116
|
+
`},$=l("div")`
|
|
117
117
|
position: relative;
|
|
118
118
|
box-sizing: border-box;
|
|
119
119
|
flex: 1;
|
|
120
120
|
z-index: 2;
|
|
121
|
-
line-height: ${({size:t})=>
|
|
121
|
+
line-height: ${({size:t})=>b[t].height};
|
|
122
122
|
transition: ${({reduceMotion:t,transitionDuration:r,transitionTimingFunction:e})=>`border-left-color ${t?0:r}ms ${e||"cubic-bezier(.51,.3,0,1.21)"}`};
|
|
123
|
-
|
|
123
|
+
`,w=l("label")`
|
|
124
124
|
display: block;
|
|
125
125
|
cursor: pointer;
|
|
126
126
|
text-overflow: ellipsis;
|
|
@@ -129,31 +129,31 @@ import s,{css as n}from"styled-components";import g from"../theme/utils.js";cons
|
|
|
129
129
|
white-space: nowrap;
|
|
130
130
|
-webkit-tap-highlight-color: transparent;
|
|
131
131
|
transition: color 150ms ease 0s;
|
|
132
|
-
`,
|
|
132
|
+
`,z=l("div")`
|
|
133
133
|
position: relative;
|
|
134
134
|
display: ${({direction:t})=>t==="vertical"?"flex":"block"};
|
|
135
135
|
${({direction:t,position:r})=>t==="vertical"&&r==="right"?"flex-direction: row-reverse":null};
|
|
136
|
-
`,
|
|
136
|
+
`,v=l("div")`
|
|
137
137
|
position: relative;
|
|
138
138
|
display: ${({fullWidth:t,variant:r})=>t||r!=="pills"?"flex":"inline-flex"};
|
|
139
|
-
font-size: ${({size:t})=>
|
|
139
|
+
font-size: ${({size:t})=>b[t].fontSize};
|
|
140
140
|
align-items: center;
|
|
141
|
-
${({variant:t,theme:r,radius:e,direction:i,position:o})=>
|
|
142
|
-
`,
|
|
141
|
+
${({variant:t,theme:r,radius:e,direction:i,position:o,color:a})=>h(t,r,e,i,o,a)};
|
|
142
|
+
`,y=l("div")`
|
|
143
143
|
display: block;
|
|
144
144
|
${({direction:t,position:r,tabPadding:e,theme:i})=>m(t,r,e,i)};
|
|
145
|
-
`,
|
|
146
|
-
border-radius: ${({radius:t,theme:r})=>
|
|
145
|
+
`,_=l("span")`
|
|
146
|
+
border-radius: ${({radius:t,theme:r})=>d(t,r.layout.radius)};
|
|
147
147
|
position: absolute;
|
|
148
148
|
box-sizing: border-box;
|
|
149
149
|
top: 1px;
|
|
150
150
|
bottom: 1px;
|
|
151
151
|
z-index: 1;
|
|
152
|
-
background-color: ${({theme:t,color:r})=>
|
|
152
|
+
background-color: ${({theme:t,color:r})=>x(r,t)};
|
|
153
153
|
width: ${({width:t})=>t}px;
|
|
154
154
|
transform: translateX(${({transform:t})=>t}px);
|
|
155
155
|
transition: transform 150ms ease 0s, width 100ms linear 0s;
|
|
156
|
-
`,
|
|
156
|
+
`,k=(t,r,e,i,o,a)=>e==="vertical"?n`
|
|
157
157
|
width: 2px;
|
|
158
158
|
height: ${r}px;
|
|
159
159
|
transform: translateY(${a}px);
|
|
@@ -167,12 +167,12 @@ margin-right: -1px;`};
|
|
|
167
167
|
transform: translateX(${o}px);
|
|
168
168
|
bottom: 0;
|
|
169
169
|
margin-bottom: -1px;
|
|
170
|
-
`,
|
|
170
|
+
`,C=l("span")`
|
|
171
171
|
position: absolute;
|
|
172
172
|
box-sizing: border-box;
|
|
173
173
|
z-index: 1;
|
|
174
|
-
background-color: ${({theme:t,color:r})=>
|
|
174
|
+
background-color: ${({theme:t,color:r})=>r?p.getColor(r,t):t.palette.accents_7};
|
|
175
175
|
transition: transform 150ms ease 0s, width 100ms linear 0s;
|
|
176
|
-
${({width:t,height:r,direction:e,position:i,transform:o,translateY:a})=>
|
|
177
|
-
`;export{
|
|
176
|
+
${({width:t,height:r,direction:e,position:i,transform:o,translateY:a})=>k(t,r,e,i,o,a)};
|
|
177
|
+
`;export{C as LineBg,_ as PillsBg,$ as TabControl,w as TabControlLabel,v as TabControlList,y as TabPanel,z as TabsContainer,c as WRAPPER_PADDING};
|
|
178
178
|
//# sourceMappingURL=Tabs.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.styles.js","sources":["../../src/Tabs/Tabs.styles.ts"],"sourcesContent":["import React from 'react';\nimport styled, { css } from 'styled-components';\nimport { KubedNumberSize, KubedSizes, KubedTheme, themeUtils } from '../theme';\n\nconst { getSizeValue } = themeUtils;\n\nexport const WRAPPER_PADDING = 2;\n\nconst sizes = {\n xs: {\n fontSize: '10px',\n height: '26px',\n },\n sm: {\n fontSize: '12px',\n height: '28px',\n },\n md: {\n fontSize: '14px',\n height: '36px',\n },\n lg: {\n fontSize: '16px',\n height: '48px',\n },\n xl: {\n fontSize: '18px',\n height: '56px',\n },\n};\n\nconst getColor = (color, theme: KubedTheme) => {\n const { palette } = theme;\n if (palette[color]) {\n return palette[color];\n }\n if (palette.colors[color]) {\n return palette.colors[color][2];\n }\n return palette.accents_7;\n};\n\nconst getOutlineControlBorder = (variant, theme: KubedTheme, direction, position) => {\n const border = `1px solid ${theme.palette.border}`;\n if (direction === 'vertical') {\n if (position === 'left') {\n return css`\n border-right: ${border};\n\n .tab-item {\n width: 100%;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n border-width: 1px 0 1px 1px;\n }\n .tab-group {\n margin-right: -1px;\n }\n `;\n }\n if (position === 'right') {\n return css`\n border-left: ${border};\n .tab-item {\n width: 100%;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n border-width: 1px 1px 1px 0;\n }\n .tab-group {\n margin-left: -1px;\n }\n `;\n }\n }\n return css`\n border-bottom: ${border};\n .tab-item {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-width: 1px 1px 0;\n }\n .tab-group {\n width: 100%;\n margin-bottom: -1px;\n }\n `;\n};\n\nconst getLineControlBorder = (variant, theme: KubedTheme, direction, position) => {\n const border = `1px solid ${theme.palette.border}`;\n if (direction === 'vertical') {\n if (position === 'left') {\n return css`\n border-right: ${border};\n\n .tab-item {\n padding: 0 15px;\n width: 100%;\n }\n .tab-group {\n margin-right: -1px;\n }\n `;\n }\n if (position === 'right') {\n return css`\n border-left: ${border};\n .tab-item {\n padding: 0 15px;\n width: 100%;\n }\n .tab-group {\n margin-left: -1px;\n }\n `;\n }\n }\n return css`\n border-bottom: ${border};\n .tab-item {\n margin: 0 15px;\n }\n .tab-group {\n width: 100%;\n }\n `;\n};\n\nconst getContainerStyles = (variant, theme: KubedTheme, radius, direction, position) => {\n const { palette, layout } = theme;\n if (variant === 'pills') {\n return css`\n padding: 1px;\n border-radius: ${getSizeValue(radius, layout.radius)};\n background-color: ${palette.accents_0};\n border: 1px solid ${palette.border};\n\n .tab-item {\n font-weight: 500;\n min-width: 117px;\n }\n\n .tab-item__active {\n label {\n color: ${palette.background};\n }\n }\n `;\n }\n if (variant === 'outline') {\n return css`\n ${getOutlineControlBorder(variant, theme, direction, position)};\n\n .tab-item {\n padding: 0 15px;\n background-color: transparent;\n border-style: solid;\n border-color: transparent;\n &:first-of-type {\n margin-left: 0;\n }\n }\n\n .tab-item__active {\n background-color: ${palette.background};\n border-color: ${palette.border};\n label {\n color: ${palette.accents_8};\n }\n }\n `;\n }\n\n return css`\n ${getLineControlBorder(variant, theme, direction, position)};\n\n .tab-item {\n &:first-of-type {\n margin-left: 0;\n }\n }\n\n .tab-item__active {\n label {\n color: ${palette.accents_8};\n }\n }\n `;\n};\n\ninterface TabsStyles extends React.ComponentPropsWithoutRef<any> {\n theme?: KubedTheme;\n fullWidth?: boolean;\n color?: string;\n radius?: KubedNumberSize;\n reduceMotion?: boolean;\n transitionDuration?: number;\n transitionTimingFunction?: string;\n size?: KubedSizes;\n direction?: 'horizontal' | 'vertical';\n variant?: 'pills' | 'line' | 'outline';\n active?: boolean;\n}\n\nconst getPanelPadding = (direction, position, tabPadding, theme) => {\n const padding = getSizeValue(tabPadding, theme.layout.spacing);\n if (direction === 'horizontal') {\n return css`\n padding-top: ${padding};\n `;\n }\n return css`\n padding-${position}: ${padding};\n `;\n};\n\nexport const TabControl = styled('div')<TabsStyles>`\n position: relative;\n box-sizing: border-box;\n flex: 1;\n z-index: 2;\n line-height: ${({ size }) => sizes[size].height};\n transition: ${({ reduceMotion, transitionDuration, transitionTimingFunction }) =>\n `border-left-color ${reduceMotion ? 0 : transitionDuration}ms ${\n transitionTimingFunction || 'cubic-bezier(.51,.3,0,1.21)'\n }`};\n`;\n\nexport const TabControlLabel = styled('label')<TabsStyles>`\n display: block;\n cursor: pointer;\n text-overflow: ellipsis;\n text-align: center;\n color: ${({ theme }) => theme.palette.accents_7};\n white-space: nowrap;\n -webkit-tap-highlight-color: transparent;\n transition: color 150ms ease 0s;\n`;\n\nexport const TabsContainer = styled('div')<TabsStyles>`\n position: relative;\n display: ${({ direction }) => (direction === 'vertical' ? 'flex' : 'block')};\n ${({ direction, position }) =>\n direction === 'vertical' && position === 'right' ? 'flex-direction: row-reverse' : null};\n`;\n\nexport const TabControlList = styled('div')<TabsStyles>`\n position: relative;\n display: ${({ fullWidth, variant }) =>\n fullWidth || variant !== 'pills' ? 'flex' : 'inline-flex'};\n font-size: ${({ size }) => sizes[size].fontSize};\n align-items: center;\n ${({ variant, theme, radius, direction, position }) =>\n getContainerStyles(variant, theme, radius, direction, position)};\n`;\n\nexport const TabPanel = styled('div')<TabsStyles>`\n display: block;\n ${({ direction, position, tabPadding, theme }) =>\n getPanelPadding(direction, position, tabPadding, theme)};\n`;\n\ninterface BgSpanStyles extends React.ComponentPropsWithoutRef<any> {}\n\nexport const PillsBg = styled('span')<BgSpanStyles>`\n border-radius: ${({ radius, theme }) => getSizeValue(radius, theme.layout.radius)};\n position: absolute;\n box-sizing: border-box;\n top: 1px;\n bottom: 1px;\n z-index: 1;\n background-color: ${({ theme, color }) => getColor(color, theme)};\n width: ${({ width }) => width}px;\n transform: translateX(${({ transform }) => transform}px);\n transition: transform 150ms ease 0s, width 100ms linear 0s;\n`;\n\nconst getLineBgStyles = (width, height, direction, position, translate, translateY) => {\n if (direction === 'vertical') {\n return css`\n width: 2px;\n height: ${height}px;\n transform: translateY(${translateY}px);\n top: 0;\n ${position === 'right' ? 'left: 0;\\nmargin-left: -1px;' : 'right: 0;\\nmargin-right: -1px;'};\n `;\n }\n\n return css`\n height: 2px;\n width: ${width}px;\n transform: translateX(${translate}px);\n bottom: 0;\n margin-bottom: -1px;\n `;\n};\n\nexport const LineBg = styled('span')<BgSpanStyles>`\n position: absolute;\n box-sizing: border-box;\n z-index: 1;\n background-color: ${({ theme, color }) => getColor(color, theme)};\n transition: transform 150ms ease 0s, width 100ms linear 0s;\n ${({ width, height, direction, position, transform, translateY }) =>\n getLineBgStyles(width, height, direction, position, transform, translateY)};\n`;\n"],"names":[],"mappings":";;;AAEA,MAAM,EAAE,YAAY,EAAE,GAAG,UAAU,CAAC;AACxB,MAAC,eAAe,GAAG,EAAE;AACjC,MAAM,KAAK,GAAG;AACd,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,CAAC,CAAC;AACF,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK;AACnC,EAAE,MAAM,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K,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAClJ;;;;"}
|
|
1
|
+
{"version":3,"file":"Tabs.styles.js","sources":["../../src/Tabs/Tabs.styles.ts"],"sourcesContent":["import React from 'react';\nimport styled, { css } from 'styled-components';\nimport { KubedNumberSize, KubedSizes, KubedTheme, themeUtils } from '../theme';\n\nconst { getSizeValue } = themeUtils;\n\nexport const WRAPPER_PADDING = 0;\n\nconst sizes = {\n xs: {\n fontSize: '10px',\n height: '26px',\n },\n sm: {\n fontSize: '12px',\n height: '28px',\n },\n md: {\n fontSize: '14px',\n height: '36px',\n },\n lg: {\n fontSize: '16px',\n height: '48px',\n },\n xl: {\n fontSize: '18px',\n height: '56px',\n },\n};\n\nconst getColor = (color, theme: KubedTheme) => {\n const { palette } = theme;\n if (palette[color]) {\n return palette[color];\n }\n if (palette.colors[color]) {\n return palette.colors[color][2];\n }\n return palette.accents_7;\n};\n\nconst getOutlineControlBorder = (variant, theme: KubedTheme, direction, position) => {\n const border = `1px solid ${theme.palette.border}`;\n if (direction === 'vertical') {\n if (position === 'left') {\n return css`\n border-right: ${border};\n\n .tab-item {\n width: 100%;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n border-width: 1px 0 1px 1px;\n }\n .tab-group {\n margin-right: -1px;\n }\n `;\n }\n if (position === 'right') {\n return css`\n border-left: ${border};\n .tab-item {\n width: 100%;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n border-width: 1px 1px 1px 0;\n }\n .tab-group {\n margin-left: -1px;\n }\n `;\n }\n }\n return css`\n border-bottom: ${border};\n .tab-item {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-width: 1px 1px 0;\n }\n .tab-group {\n width: 100%;\n margin-bottom: -1px;\n }\n `;\n};\n\nconst getLineControlBorder = (variant, theme: KubedTheme, direction, position) => {\n const border = `1px solid ${theme.palette.border}`;\n if (direction === 'vertical') {\n if (position === 'left') {\n return css`\n border-right: ${border};\n\n .tab-item {\n padding: 0 15px;\n width: 100%;\n }\n .tab-group {\n margin-right: -1px;\n }\n `;\n }\n if (position === 'right') {\n return css`\n border-left: ${border};\n .tab-item {\n padding: 0 15px;\n width: 100%;\n }\n .tab-group {\n margin-left: -1px;\n }\n `;\n }\n }\n return css`\n border-bottom: ${border};\n .tab-item {\n margin: 0 15px;\n }\n .tab-group {\n width: 100%;\n }\n `;\n};\n\nconst getContainerStyles = (variant, theme: KubedTheme, radius, direction, position, color) => {\n const { palette, layout } = theme;\n\n if (variant === 'pills') {\n return css`\n padding: 1px;\n border-radius: ${getSizeValue(radius, layout.radius)};\n background-color: ${palette.accents_0};\n border: 1px solid ${palette.border};\n\n .tab-item {\n font-weight: 500;\n min-width: 117px;\n }\n\n .tab-item__active {\n label {\n color: ${palette.background};\n }\n }\n `;\n }\n if (variant === 'outline') {\n return css`\n ${getOutlineControlBorder(variant, theme, direction, position)};\n\n .tab-item {\n padding: 0 15px;\n background-color: transparent;\n border-style: solid;\n border-color: transparent;\n &:first-of-type {\n margin-left: 0;\n }\n }\n\n .tab-item__active {\n background-color: ${palette.background};\n border-color: ${palette.border};\n label {\n color: ${palette.accents_8};\n }\n }\n `;\n }\n\n return css`\n ${getLineControlBorder(variant, theme, direction, position)};\n\n .tab-item {\n &:first-of-type {\n margin-left: 0;\n }\n }\n\n .tab-item__active {\n label {\n color: ${color ? themeUtils.getColor(color, theme) : palette.accents_7};\n }\n }\n `;\n};\n\ninterface TabsStyles extends React.ComponentPropsWithoutRef<any> {\n theme?: KubedTheme;\n fullWidth?: boolean;\n color?: string;\n radius?: KubedNumberSize;\n reduceMotion?: boolean;\n transitionDuration?: number;\n transitionTimingFunction?: string;\n size?: KubedSizes;\n direction?: 'horizontal' | 'vertical';\n variant?: 'pills' | 'line' | 'outline';\n active?: boolean;\n}\n\nconst getPanelPadding = (direction, position, tabPadding, theme) => {\n const padding = getSizeValue(tabPadding, theme.layout.spacing);\n if (direction === 'horizontal') {\n return css`\n padding-top: ${padding};\n `;\n }\n return css`\n padding-${position}: ${padding};\n `;\n};\n\nexport const TabControl = styled('div')<TabsStyles>`\n position: relative;\n box-sizing: border-box;\n flex: 1;\n z-index: 2;\n line-height: ${({ size }) => sizes[size].height};\n transition: ${({ reduceMotion, transitionDuration, transitionTimingFunction }) =>\n `border-left-color ${reduceMotion ? 0 : transitionDuration}ms ${\n transitionTimingFunction || 'cubic-bezier(.51,.3,0,1.21)'\n }`};\n`;\n\nexport const TabControlLabel = styled('label')<TabsStyles>`\n display: block;\n cursor: pointer;\n text-overflow: ellipsis;\n text-align: center;\n color: ${({ theme }) => theme.palette.accents_7};\n white-space: nowrap;\n -webkit-tap-highlight-color: transparent;\n transition: color 150ms ease 0s;\n`;\n\nexport const TabsContainer = styled('div')<TabsStyles>`\n position: relative;\n display: ${({ direction }) => (direction === 'vertical' ? 'flex' : 'block')};\n ${({ direction, position }) =>\n direction === 'vertical' && position === 'right' ? 'flex-direction: row-reverse' : null};\n`;\n\nexport const TabControlList = styled('div')<TabsStyles>`\n position: relative;\n display: ${({ fullWidth, variant }) =>\n fullWidth || variant !== 'pills' ? 'flex' : 'inline-flex'};\n font-size: ${({ size }) => sizes[size].fontSize};\n align-items: center;\n ${({ variant, theme, radius, direction, position, color }) =>\n getContainerStyles(variant, theme, radius, direction, position, color)};\n`;\n\nexport const TabPanel = styled('div')<TabsStyles>`\n display: block;\n ${({ direction, position, tabPadding, theme }) =>\n getPanelPadding(direction, position, tabPadding, theme)};\n`;\n\ninterface BgSpanStyles extends React.ComponentPropsWithoutRef<any> {}\n\nexport const PillsBg = styled('span')<BgSpanStyles>`\n border-radius: ${({ radius, theme }) => getSizeValue(radius, theme.layout.radius)};\n position: absolute;\n box-sizing: border-box;\n top: 1px;\n bottom: 1px;\n z-index: 1;\n background-color: ${({ theme, color }) => getColor(color, theme)};\n width: ${({ width }) => width}px;\n transform: translateX(${({ transform }) => transform}px);\n transition: transform 150ms ease 0s, width 100ms linear 0s;\n`;\n\nconst getLineBgStyles = (width, height, direction, position, translate, translateY) => {\n if (direction === 'vertical') {\n return css`\n width: 2px;\n height: ${height}px;\n transform: translateY(${translateY}px);\n top: 0;\n ${position === 'right' ? 'left: 0;\\nmargin-left: -1px;' : 'right: 0;\\nmargin-right: -1px;'};\n `;\n }\n\n return css`\n height: 2px;\n width: ${width}px;\n transform: translateX(${translate}px);\n bottom: 0;\n margin-bottom: -1px;\n `;\n};\n\nexport const LineBg = styled('span')<BgSpanStyles>`\n position: absolute;\n box-sizing: border-box;\n z-index: 1;\n background-color: ${({ theme, color }) =>\n color ? themeUtils.getColor(color, theme) : theme.palette.accents_7};\n transition: transform 150ms ease 0s, width 100ms linear 0s;\n ${({ width, height, direction, position, transform, translateY }) =>\n getLineBgStyles(width, height, direction, position, transform, translateY)};\n`;\n"],"names":[],"mappings":";;;AAEA,MAAM,EAAE,YAAY,EAAE,GAAG,UAAU,CAAC;AACxB,MAAC,eAAe,GAAG,EAAE;AACjC,MAAM,KAAK,GAAG;AACd,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,QAAQ,EAAE,MAAM;AACpB,IAAI,MAAM,EAAE,MAAM;AAClB,GAAG;AACH,CAAC,CAAC;AACF,MAAM,QAAQ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AACrC;AACA;AACA;AACA,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,KAAK,GAAG,UAAU,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAChH;AACA,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAClJ;;;;"}
|
|
@@ -15,6 +15,7 @@ import r,{css as e}from"styled-components";const p=(o,t)=>o?e`
|
|
|
15
15
|
height: 64px;
|
|
16
16
|
padding: 12px 64px 12px 12px;
|
|
17
17
|
transition: all 0.3s ease-in-out;
|
|
18
|
+
background-color: #fff;
|
|
18
19
|
|
|
19
20
|
&:hover {
|
|
20
21
|
border-color: ${({theme:o})=>o.palette.accents_5};
|
|
@@ -41,6 +42,7 @@ import r,{css as e}from"styled-components";const p=(o,t)=>o?e`
|
|
|
41
42
|
border-top-left-radius: 0;
|
|
42
43
|
border-top: 0;
|
|
43
44
|
background-color: ${({theme:o})=>o.palette.background};
|
|
45
|
+
z-index: 9999;
|
|
44
46
|
//box-sizing: content-box;
|
|
45
47
|
`,s=r.div`
|
|
46
48
|
height: 64px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSelect.styles.js","sources":["../../src/TypeSelect/TypeSelect.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components';\n\ninterface ControlWrapperProps {\n $expanded: boolean;\n}\n\nconst getExpandedStyle = (expanded: boolean, theme) => {\n if (expanded) {\n return css`\n border-color: ${theme.palette.accents_5};\n border-bottom: 0;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n transition: none;\n background-color: ${theme.palette.accents_1};\n `;\n }\n return null;\n};\n\nexport const TypeSelectWrapper = styled('div')`\n position: relative;\n border-radius: 4px;\n cursor: pointer;\n`;\n\nexport const ControlWrapper = styled('div')<ControlWrapperProps>`\n border-radius: 4px;\n border: 1px solid ${({ theme }) => theme.palette.border};\n height: 64px;\n padding: 12px 64px 12px 12px;\n transition: all 0.3s ease-in-out;\n\n &:hover {\n border-color: ${({ theme }) => theme.palette.accents_5};\n }\n ${({ $expanded, theme }) => getExpandedStyle($expanded, theme)};\n`;\n\nexport const DropdownArrow = styled.div`\n position: absolute;\n height: 16px;\n top: 50%;\n right: 12px;\n transform: translateY(-50%);\n &:hover {\n background-color: ${({ theme }) => theme.palette.accents_1};\n }\n z-index: 999;\n`;\n\nexport const DropdownWrapper = styled.div`\n position: absolute;\n top: 63px;\n left: 0px;\n width: 100%;\n border: 1px solid ${({ theme }) => theme.palette.accents_5};\n border-radius: 4px;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n border-top: 0;\n background-color: ${({ theme }) => theme.palette.background};\n //box-sizing: content-box;\n`;\n\nexport const DropdownOption = styled.div`\n height: 64px;\n padding: 12px 64px 12px 12px;\n &:hover {\n background-color: ${({ theme }) => theme.palette.accents_0};\n }\n`;\n"],"names":[],"mappings":";;AACA,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,KAAK,KAAK;AAC9C,EAAE,IAAI,QAAQ,EAAE;AAChB,IAAI,OAAO,GAAG,CAAC;AACf,oBAAoB,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC9C;AACA;AACA;AACA;AACA,wBAAwB,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAClD,IAAI,CAAC,CAAC;AACN,GAAG;AACH,EAAE,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AACU,MAAC,iBAAiB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC/C;AACA;AACA;AACA,EAAE;AACU,MAAC,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC5C;AACA,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;AAC1D;AACA;AACA;AACA;AACA;AACA,kBAAkB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC3D;AACA,EAAE,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AACjE,EAAE;AACU,MAAC,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC/D;AACA;AACA,EAAE;AACU,MAAC,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC;AAC1C;AACA;AACA;AACA;AACA,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC7D;AACA;AACA;AACA;AACA,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;AAC9D;AACA,EAAE;AACU,MAAC,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC;AACzC;AACA;AACA;AACA,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC/D;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"TypeSelect.styles.js","sources":["../../src/TypeSelect/TypeSelect.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components';\n\ninterface ControlWrapperProps {\n $expanded: boolean;\n}\n\nconst getExpandedStyle = (expanded: boolean, theme) => {\n if (expanded) {\n return css`\n border-color: ${theme.palette.accents_5};\n border-bottom: 0;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n transition: none;\n background-color: ${theme.palette.accents_1};\n `;\n }\n return null;\n};\n\nexport const TypeSelectWrapper = styled('div')`\n position: relative;\n border-radius: 4px;\n cursor: pointer;\n`;\n\nexport const ControlWrapper = styled('div')<ControlWrapperProps>`\n border-radius: 4px;\n border: 1px solid ${({ theme }) => theme.palette.border};\n height: 64px;\n padding: 12px 64px 12px 12px;\n transition: all 0.3s ease-in-out;\n background-color: #fff;\n\n &:hover {\n border-color: ${({ theme }) => theme.palette.accents_5};\n }\n ${({ $expanded, theme }) => getExpandedStyle($expanded, theme)};\n`;\n\nexport const DropdownArrow = styled.div`\n position: absolute;\n height: 16px;\n top: 50%;\n right: 12px;\n transform: translateY(-50%);\n &:hover {\n background-color: ${({ theme }) => theme.palette.accents_1};\n }\n z-index: 999;\n`;\n\nexport const DropdownWrapper = styled.div`\n position: absolute;\n top: 63px;\n left: 0px;\n width: 100%;\n border: 1px solid ${({ theme }) => theme.palette.accents_5};\n border-radius: 4px;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n border-top: 0;\n background-color: ${({ theme }) => theme.palette.background};\n z-index: 9999;\n //box-sizing: content-box;\n`;\n\nexport const DropdownOption = styled.div`\n height: 64px;\n padding: 12px 64px 12px 12px;\n &:hover {\n background-color: ${({ theme }) => theme.palette.accents_0};\n }\n`;\n"],"names":[],"mappings":";;AACA,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,KAAK,KAAK;AAC9C,EAAE,IAAI,QAAQ,EAAE;AAChB,IAAI,OAAO,GAAG,CAAC;AACf,oBAAoB,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC9C;AACA;AACA;AACA;AACA,wBAAwB,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAClD,IAAI,CAAC,CAAC;AACN,GAAG;AACH,EAAE,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AACU,MAAC,iBAAiB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC/C;AACA;AACA;AACA,EAAE;AACU,MAAC,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC5C;AACA,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC3D;AACA,EAAE,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AACjE,EAAE;AACU,MAAC,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC/D;AACA;AACA,EAAE;AACU,MAAC,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC;AAC1C;AACA;AACA;AACA;AACA,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC7D;AACA;AACA;AACA;AACA,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;AAC9D;AACA;AACA,EAAE;AACU,MAAC,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC;AACzC;AACA;AACA;AACA,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC;AAC/D;AACA;;;;"}
|
package/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{KubedConfigProvider}from"./ConfigProvider/index.js";export{Button}from"./Button/Button.js";export{Group}from"./Group/Group.js";export{Container}from"./Container/Container.js";export{Center}from"./Center/Center.js";export{Row}from"./Grid/Row.js";export{Navs}from"./Navs/Navs.js";export{Snippet}from"./Snippet/Snippet.js";export{Tabs}from"./Tabs/Tabs.js";export{Text}from"./Text/Text.js";export{Tooltip}from"./Tooltip/Tooltip.js";export{Popover}from"./Popover/Popover.js";export{Divider}from"./Divider/Divider.js";export{Menu}from"./Menu/Menu.js";export{StatusDot}from"./StatusDot/StatusDot.js";export{Tag}from"./Tag/Tag.js";export{Badge}from"./Badge/Badge.js";export{Alert}from"./Alert/Alert.js";export{Card}from"./Card/Card.js";export{Descriptions}from"./Descriptions/Descriptions.js";export{Entity}from"./Entity/Entity.js";export{Dropdown}from"./Dropdown/Dropdown.js";export{
|
|
1
|
+
export{KubedConfigProvider}from"./ConfigProvider/index.js";export{Button}from"./Button/Button.js";export{Group}from"./Group/Group.js";export{Container,sizes}from"./Container/Container.js";export{Center}from"./Center/Center.js";export{Row}from"./Grid/Row.js";export{Navs}from"./Navs/Navs.js";export{Snippet}from"./Snippet/Snippet.js";export{Tabs}from"./Tabs/Tabs.js";export{Text}from"./Text/Text.js";export{Tooltip}from"./Tooltip/Tooltip.js";export{Popover}from"./Popover/Popover.js";export{Divider}from"./Divider/Divider.js";export{Menu}from"./Menu/Menu.js";export{StatusDot}from"./StatusDot/StatusDot.js";export{Tag}from"./Tag/Tag.js";export{Badge}from"./Badge/Badge.js";export{Alert}from"./Alert/Alert.js";export{Card}from"./Card/Card.js";export{Descriptions}from"./Descriptions/Descriptions.js";export{Entity}from"./Entity/Entity.js";export{Dropdown}from"./Dropdown/Dropdown.js";export{LoadingOverlay}from"./LoadingOverlay/LoadingOverlay.js";export{Input,fixControlledValue}from"./Input/Input.js";export{InputPassword}from"./InputPassword/InputPassword.js";export{FilterInput}from"./FilterInput/FilterInput.js";export{Empty}from"./Empty/Empty.js";export{Form}from"./Form/Form.js";export{Select}from"./Select/Select.js";export{Checkbox}from"./Checkbox/Checkbox.js";export{Radio}from"./Radio/Radio.js";export{Switch}from"./Switch/Switch.js";export{InputNumber}from"./InputNumber/InputNumber.js";export{DatePicker}from"./DatePicker/DatePicker.js";export{Banner}from"./Banner/Banner.js";export{Notify}from"./Notify/Notify.js";export{AutoComplete}from"./AutoComplete/AutoComplete.js";export{ActionConfirm}from"./ActionConfirm/ActionConfirm.js";export{Progress}from"./Progress/Progress.js";export{addColorAlpha,colorToRgbValues}from"./utils/color.js";export{Steps}from"./Steps/Steps.js";export{TypeSelect}from"./TypeSelect/TypeSelect.js";export{ShowMore}from"./ShowMore/ShowMore.js";export{Loading}from"./Loading/Loading.js";export{default as TimePicker}from"./TimePicker/TimePicker.js";export{default as Drawer}from"./Drawer/Drawer.js";export{default as Collapse}from"./Collapse/Collapse.js";export{default as forwardRef}from"./utils/forwardRef.js";export{default as toArray}from"./utils/toArray.js";export{default as useForm}from"./Form/hooks/useForm.js";export{Modal}from"./Modal/Modal.js";export{useModal}from"./Modal/ModalProvider/ModalContext.js";export{default as CssBaseline}from"./theme/CssBaseline.js";export{useTheme}from"./theme/ThemeContext.js";export{default as themeUtils}from"./theme/utils.js";export{Col}from"./Grid/Col.js";export{Tab}from"./Tabs/Tab/Tab.js";export{MenuItem}from"./Menu/MenuItem/MenuItem.js";export{MenuLabel}from"./Menu/MenuLabel/MenuLabel.js";export{BadgeAnchor}from"./Badge/BadgeAnchor.js";export{Description}from"./Descriptions/Description.js";export{Field}from"./Entity/Field.js";export{List as FormList}from"rc-field-form";export{FormItem}from"./Form/FormItem/FormItem.js";export{CheckboxGroup}from"./Checkbox/CheckboxGroup.js";export{RadioGroup}from"./Radio/RadioGroup.js";export{BannerTip}from"./Banner/BannerTip.js";export{default as notify}from"react-hot-toast";export{Slider}from"./Slider/Slider/Slider.js";export{RangeSlider}from"./Slider/RangeSlider/RangeSlider.js";export{Step}from"./Steps/Step/Step.js";export{StepCompleted}from"./Steps/StepCompleted/StepCompleted.js";export{TabStep}from"./Steps/TabStep/TabStep.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
defaultValue?: string[];
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
onChange?: (values: string[]) => void;
|
|
7
|
+
unstyled?: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>;
|
|
9
10
|
export declare type CheckboxGroupProps = Props & NativeAttrs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroup.d.ts","sourceRoot":"","sources":["../../../src/Checkbox/CheckboxGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"CheckboxGroup.d.ts","sourceRoot":"","sources":["../../../src/Checkbox/CheckboxGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,aAAK,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,CAAC,CAAC;AAChE,oBAAY,kBAAkB,GAAG,KAAK,GAAG,WAAW,CAAC;AAErD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CA2C/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Descriptions.d.ts","sourceRoot":"","sources":["../../../src/Descriptions/Descriptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,aAAK,eAAe,GAAG;IACrB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,sCAAsC;IACtC,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAEjC,uBAAuB;IACvB,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;CAC1B;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAmB,EAAE,IAAS,EAAE,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Descriptions.d.ts","sourceRoot":"","sources":["../../../src/Descriptions/Descriptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,aAAK,eAAe,GAAG;IACrB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,sCAAsC;IACtC,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAEjC,uBAAuB;IACvB,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;CAC1B;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAmB,EAAE,IAAS,EAAE,EAAE,iBAAiB,eAYjF;yBAZe,YAAY"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DefaultProps } from '../theme';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ShowMoreProps extends DefaultProps {
|
|
4
4
|
/** Max height of visible content, when this point is reached ShowMore appears */
|
|
5
5
|
maxHeight: number;
|
|
6
6
|
/** Label for close ShowMore action */
|
|
@@ -14,5 +14,5 @@ export interface FilterInputProps extends DefaultProps {
|
|
|
14
14
|
/** ShowMore reveal transition duration in ms, 0 or null to turn off animation */
|
|
15
15
|
transitionDuration?: number;
|
|
16
16
|
}
|
|
17
|
-
export declare const ShowMore: import("../utils/types").ComponentWithAs<"div",
|
|
17
|
+
export declare const ShowMore: import("../utils/types").ComponentWithAs<"div", ShowMoreProps>;
|
|
18
18
|
//# sourceMappingURL=ShowMore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShowMore.d.ts","sourceRoot":"","sources":["../../../src/ShowMore/ShowMore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAqBxC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ShowMore.d.ts","sourceRoot":"","sources":["../../../src/ShowMore/ShowMore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAqBxC,MAAM,WAA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EACJ,MAAa,EACb,IAAW,EACX,QAAiB,EACjB,SAAwB,EACxB,UAAiB,EACjB,kBAAwB,EACxB,wBAAwB,EACxB,GAAG,MAAM,EACV,EAAE,SAAS,eAqIX;yBAtJe,IAAI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { KubedNumberSize, KubedSizes, KubedTheme } from '../theme';
|
|
3
|
-
export declare const WRAPPER_PADDING =
|
|
3
|
+
export declare const WRAPPER_PADDING = 0;
|
|
4
4
|
interface TabsStyles extends React.ComponentPropsWithoutRef<any> {
|
|
5
5
|
theme?: KubedTheme;
|
|
6
6
|
fullWidth?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.styles.d.ts","sourceRoot":"","sources":["../../../src/Tabs/Tabs.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAc,MAAM,UAAU,CAAC;AAI/E,eAAO,MAAM,eAAe,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Tabs.styles.d.ts","sourceRoot":"","sources":["../../../src/Tabs/Tabs.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAc,MAAM,UAAU,CAAC;AAI/E,eAAO,MAAM,eAAe,IAAI,CAAC;AA0LjC,UAAU,UAAW,SAAQ,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC;IAC9D,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACvC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAcD,eAAO,MAAM,UAAU,iHAUtB,CAAC;AAEF,eAAO,MAAM,eAAe,mHAS3B,CAAC;AAEF,eAAO,MAAM,aAAa,iHAKzB,CAAC;AAEF,eAAO,MAAM,cAAc,iHAQ1B,CAAC;AAEF,eAAO,MAAM,QAAQ,iHAIpB,CAAC;AAEF,UAAU,YAAa,SAAQ,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC;CAAG;AAErE,eAAO,MAAM,OAAO,oHAWnB,CAAC;AAsBF,eAAO,MAAM,MAAM,oHASlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSelect.styles.d.ts","sourceRoot":"","sources":["../../../src/TypeSelect/TypeSelect.styles.ts"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;CACpB;AAgBD,eAAO,MAAM,iBAAiB,yGAI7B,CAAC;AAEF,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"TypeSelect.styles.d.ts","sourceRoot":"","sources":["../../../src/TypeSelect/TypeSelect.styles.ts"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;CACpB;AAgBD,eAAO,MAAM,iBAAiB,yGAI7B,CAAC;AAEF,eAAO,MAAM,cAAc,0HAY1B,CAAC;AAEF,eAAO,MAAM,aAAa,yGAUzB,CAAC;AAEF,eAAO,MAAM,eAAe,yGAa3B,CAAC;AAEF,eAAO,MAAM,cAAc,yGAM1B,CAAC"}
|
package/lib/src/index.d.ts
CHANGED
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
export * from './theme';
|
|
2
2
|
export * from './ConfigProvider';
|
|
3
3
|
export * from './Button/Button';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export { Empty } from './Empty/Empty';
|
|
4
|
+
export * from './Group/Group';
|
|
5
|
+
export * from './Container/Container';
|
|
6
|
+
export * from './Center/Center';
|
|
7
|
+
export * from './Grid/Row';
|
|
8
|
+
export * from './Navs/Navs';
|
|
9
|
+
export * from './Snippet/Snippet';
|
|
10
|
+
export * from './Tabs/Tabs';
|
|
11
|
+
export * from './Text/Text';
|
|
12
|
+
export * from './Tooltip/Tooltip';
|
|
13
|
+
export * from './Popover/Popover';
|
|
14
|
+
export * from './Divider/Divider';
|
|
15
|
+
export * from './Menu/Menu';
|
|
16
|
+
export * from './StatusDot/StatusDot';
|
|
17
|
+
export * from './Tag/Tag';
|
|
18
|
+
export * from './Badge/Badge';
|
|
19
|
+
export * from './Alert/Alert';
|
|
20
|
+
export * from './Card/Card';
|
|
21
|
+
export * from './Descriptions/Descriptions';
|
|
22
|
+
export * from './Entity/Entity';
|
|
23
|
+
export * from './Dropdown/Dropdown';
|
|
24
|
+
export * from './LoadingOverlay/LoadingOverlay';
|
|
25
|
+
export * from './Input/Input';
|
|
26
|
+
export * from './InputPassword/InputPassword';
|
|
27
|
+
export * from './FilterInput/FilterInput';
|
|
28
|
+
export * from './Empty/Empty';
|
|
30
29
|
export * from './Form/Form';
|
|
31
|
-
export
|
|
30
|
+
export * from './Select/Select';
|
|
32
31
|
export { Modal, useModal } from './Modal';
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export { Slider, RangeSlider } from './Slider/index';
|
|
32
|
+
export * from './Checkbox/Checkbox';
|
|
33
|
+
export * from './Radio/Radio';
|
|
34
|
+
export * from './Switch/Switch';
|
|
35
|
+
export * from './InputNumber/InputNumber';
|
|
36
|
+
export * from './DatePicker/DatePicker';
|
|
37
|
+
export * from './Banner/Banner';
|
|
38
|
+
export * from './Notify/Notify';
|
|
39
|
+
export * from './AutoComplete/AutoComplete';
|
|
40
|
+
export * from './Slider/index';
|
|
43
41
|
export * from './ActionConfirm/ActionConfirm';
|
|
44
42
|
export * from './Progress/Progress';
|
|
45
43
|
export * from './utils/color';
|
|
46
|
-
export
|
|
47
|
-
export
|
|
44
|
+
export * from './Steps/Steps';
|
|
45
|
+
export * from './TypeSelect/TypeSelect';
|
|
46
|
+
export * from './ShowMore/ShowMore';
|
|
47
|
+
export { Loading } from './Loading/Loading';
|
|
48
|
+
export { default as TimePicker } from './TimePicker/TimePicker';
|
|
48
49
|
export { default as Drawer } from './Drawer/Drawer';
|
|
49
50
|
export { default as Collapse } from './Collapse/Collapse';
|
|
50
51
|
export { default as forwardRef } from './utils/forwardRef';
|
package/lib/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,c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