kku-ui 0.0.459 → 0.0.461
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/lib/esm/src/components/chip/KChip.interface.d.ts +2 -2
- package/lib/esm/src/components/chip/KChip.js.map +1 -1
- package/lib/esm/src/components/index.d.ts +1 -0
- package/lib/esm/src/components/index.js +1 -1
- package/lib/esm/src/components/index.js.map +1 -1
- package/lib/esm/src/components/input/select/KSelect.interface.d.ts +2 -4
- package/lib/esm/src/components/input/select/KSelect.js +1 -1
- package/lib/esm/src/components/input/select/KSelect.js.map +1 -1
- package/lib/esm/src/components/input/switch/KSwitch.d.ts +3 -0
- package/lib/esm/src/components/input/switch/KSwitch.interface.d.ts +11 -0
- package/lib/esm/src/components/input/switch/KSwitch.interface.js +1 -0
- package/lib/esm/src/components/input/switch/KSwitch.interface.js.map +1 -0
- package/lib/esm/src/components/input/switch/KSwitch.js +1 -0
- package/lib/esm/src/components/input/switch/KSwitch.js.map +1 -0
- package/lib/esm/src/components/input/switch/index.d.ts +2 -0
- package/lib/esm/src/components/input/switch/index.js +1 -0
- package/lib/esm/src/components/input/switch/index.js.map +1 -0
- package/lib/styles/index.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,10 +19,11 @@
|
|
|
19
19
|
| `<KDropHolder />` |✅|✅|⚠️|✅|✅|✅|
|
|
20
20
|
| `<KRadio />` |✅|✅|✅|✅|✅|✅|
|
|
21
21
|
| `<KChip />` |✅|✅|✅|✅|✅|✅|
|
|
22
|
-
| `<KSwitch />`
|
|
22
|
+
| `<KSwitch />` |✅|✅|✅|✅|✅|✅|
|
|
23
|
+
| `<KCard />` |🧑🏻💻|🧑🏻💻|🧑🏻💻|🧑🏻💻|🧑🏻💻|🧑🏻💻|
|
|
23
24
|
| 🏃🏻♂️.. |✨|✨|✨|✨|✨| ✨|
|
|
24
25
|
|
|
25
|
-
✅ Good
|
|
26
|
+
✅ Good ⚠️ Not Good 🧑🏻💻 Trying
|
|
26
27
|
|
|
27
28
|
<br>
|
|
28
29
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KChip.js","sourceRoot":"","sources":["../../../../../src/components/chip/KChip.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"KChip.js","sourceRoot":"","sources":["../../../../../src/components/chip/KChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAc,UAAU,EAAiB,IAAI,EAC7C,WAAW,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAGhD,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,KAAiB,EAAE,GAAkB,EAAE,EAAE;IAEjE,IAAI,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;QAClC,MAAM,KAAK,CAAC,2DAA2D,CAAC,CAAC;IAC3E,CAAC;IAID,MAAM,OAAO,GAAG,MAAM,EAAsC,CAAC;IAC7D,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;IAElC,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,KAAK,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;QAC1C,KAAK,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;QAC1C,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KACzC,CAAC,CAAC,CAAC;IAOJ,MAAM,SAAS,GAAG,OA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AK,CAAC,QAAQ,IAC5B,EAEN,KAAK,CAAC,SAAS,IAAI,CAClB,KAAC,KAAK,IACJ,SAAS,EAAC,oBAAoB,EAC9B,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,aAAa,EACnB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,CAAC,GACZ,CACH,IACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAC5B,KAAK,CAAC,YAAY,GAAG;IACnB,SAAS,EAAE,KAAK;IAChB,QAAQ,EAAE,CAAC;CACZ,CAAC;AAEF,eAAe,IAAI,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -5,5 +5,6 @@ export * from '../components/input/select';
|
|
|
5
5
|
export * from '../components/input/checkbox';
|
|
6
6
|
export * from '../components/input/radio';
|
|
7
7
|
export * from '../components/input/checkbox-group';
|
|
8
|
+
export * from '../components/input/switch';
|
|
8
9
|
export * from '../components/drop-holder';
|
|
9
10
|
export * from '../components/chip';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export*from"../components/button";export*from"../components/input/textfield";export*from"../components/icon";export*from"../components/input/select";export*from"../components/input/checkbox";export*from"../components/input/radio";export*from"../components/input/checkbox-group";export*from"../components/drop-holder";export*from"../components/chip";
|
|
1
|
+
"use strict";export*from"../components/button";export*from"../components/input/textfield";export*from"../components/icon";export*from"../components/input/select";export*from"../components/input/checkbox";export*from"../components/input/radio";export*from"../components/input/checkbox-group";export*from"../components/input/switch";export*from"../components/drop-holder";export*from"../components/chip";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC"}
|
|
@@ -16,10 +16,8 @@ export interface KSelectProps extends KBaseProp, KSizeProp {
|
|
|
16
16
|
width?: string;
|
|
17
17
|
}
|
|
18
18
|
export interface KSelectRefs {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
focus?: () => void;
|
|
22
|
-
blur?: () => void;
|
|
19
|
+
open: () => void;
|
|
20
|
+
close: () => void;
|
|
23
21
|
}
|
|
24
22
|
export interface KSelectListProps {
|
|
25
23
|
open: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{jsx as
|
|
1
|
+
"use strict";import{jsx as s,jsxs as T}from"react/jsx-runtime";import{forwardRef as g,memo as z,useCallback as n,useImperativeHandle as D,useMemo as u,useRef as r,useState as F}from"react";import{initDisabled as L,initSize as M}from"../../../common/util/variation";import{KIcon as j}from"../../../components";import B from"../../../components/input/select/KSelectList";const m=g((e,y)=>{const k=r(null),c=r(!1),[l,d]=F(!1),h=u(()=>{const t=[];return l&&t.push("k-select--open"),e.className&&t.push(e.className),M(t,"k-select",e.size,e.large,e.medium,e.small),L(t,"k-select",e.disabled),t.join(" ")},[l,e.className,e.size,e.small,e.medium,e.large,e.disabled]),_=u(()=>({...e.width?{width:e.width}:{},...e.style}),[e.style,e.width]),i=n(()=>{d(!0)},[]),a=n(()=>{d(!1)},[]),b=u(()=>{if((!e.value||e.value==="")&&e.placeholder)return s("span",{className:"k-select__label-text__placeholder",children:e.placeholder});const t=e.items?.find(o=>o.value===e.value);return s("span",{className:"k-select__label-text",children:t?.title||e.value})},[e.value,e.items,e.placeholder]),v=n(()=>{if(!l&&!e.disabled){i();return}a()},[l]),w=n(()=>{e.onFocus&&e.onFocus()},[]),x=n(()=>{l&&!c.current&&a(),e.onBlur&&e.onBlur()},[l]),C=n(()=>{c.current=!0},[]),K=n(()=>{c.current=!1},[]),N=n(t=>{if(t.key==="Enter"||t.key===" "){if(!l){i();return}a()}t.key==="Tab"&&t.shiftKey&&c.current&&a(),t.key==="Tab"&&(c.current=!0)},[l]),R=n(t=>{t!==null&&(e.onChange(t.value),a())},[e.value,e.items,e.onChange]),S=n(()=>{c.current=!1},[]),I=n((t,o,f)=>{o&&(t.key==="Enter"||t.key===" ")&&e.onChange(o.value),(e.items.length-1===f||f===-1)&&!t.shiftKey&&t.key==="Tab"&&a()},[e.value,e.items]);return D(y,()=>({open:()=>{i()},close:()=>{a()}})),T("div",{ref:k,id:e.id,className:`k-select ${h}`,style:_,tabIndex:e.disabled?-1:0,role:"button",onClick:v,onKeyUp:N,onFocus:w,onBlur:x,onMouseEnter:C,onMouseLeave:K,children:[b,s(j,{className:"k-select__current__label__arrow-icon",icon:"keyboard_arrow_down",size:16}),s(B,{open:l,items:e.items,onClick:R,onFocus:S,onKeyDown:I,noDataText:e.noDataText})]})});m.defaultProps={noDataText:"No Data"},m.displayName="KSelect";export default z(m);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KSelect.js","sourceRoot":"","sources":["../../../../../../src/components/input/select/KSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"KSelect.js","sourceRoot":"","sources":["../../../../../../src/components/input/select/KSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAiB,UAAU,EAAiB,IAAI,EAAO,WAAW,EAAE,mBAAmB,EAC5F,OAAO,EAAE,MAAM,EAAE,QA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
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { KSwitchProps, KSwitchRefs } from '../../../components/input/switch/KSwitch.interface';
|
|
2
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<KSwitchProps & import("react").RefAttributes<KSwitchRefs>>>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { KBaseProp, KSizeProp } from '../../../common/base/base.interface';
|
|
2
|
+
export interface KSwitchProps extends KBaseProp, KSizeProp {
|
|
3
|
+
value: boolean;
|
|
4
|
+
toggleColor?: string;
|
|
5
|
+
bgColor?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onChange: (value: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface KSwitchRefs {
|
|
10
|
+
toggle: () => void;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KSwitch.interface.js","sourceRoot":"","sources":["../../../../../../src/components/input/switch/KSwitch.interface.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import{jsx as c}from"react/jsx-runtime";import{forwardRef as m,memo as g,useCallback as h,useImperativeHandle as f,useMemo as t,useRef as b}from"react";import{initDisabled as k,initSize as C}from"../../../common/util/variation";const a=m((e,n)=>{const i=b(null);f(n,()=>({toggle(){i.current?.click()}}));const s=t(()=>{const l=[];return e.className&&l.push(e.className),e.value?l.push("k-switch--on"):l.push("k-switch--off"),C(l,"k-switch",e.size,e.large,e.medium,e.small),k(l,"k-switch",e.disabled),l.join(" ")},[e.value,e.className,e.size,e.small,e.medium,e.large,e.disabled]),u=t(()=>{const l={...e.style};return e.bgColor&&(l.backgroundColor=e.bgColor),l},[e.style]),d=t(()=>({backgroundColor:e.toggleColor}),[e.toggleColor]),o=h(()=>{e.onChange(!e.value)},[e.onChange,e.value]);return c("button",{ref:i,id:e.id,role:"switch",style:u,"aria-checked":e.value,"aria-label":"switch",disabled:e.disabled,tabIndex:e.disabled?-1:0,className:`k-switch ${s}`,onClick:o,children:c("span",{className:"k-switch__toggle",style:d})})});a.defaultProps={},a.displayName="KSwitch";export default g(a);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KSwitch.js","sourceRoot":"","sources":["../../../../../../src/components/input/switch/KSwitch.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAiB,UAAU,EAAE,IAAI,EAAO,WAAW,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAChH,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGjE,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,KAAmB,EAAE,GAAqB,EAAE,EAAE;IAIxE,MAAM,QAAQ,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAEjD,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,MAAM,KAAK,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;KACxC,CAAC,CAAC,CAAC;IAOJ,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,EAAE;QAE7B,MAAM,KAAK,GAAG,EAAE,CAAC;QAEjB,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;YAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAAC,CAAC;QACrD,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YAAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAAC,CAAC;aAAM,CAAC;YAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAAC,CAAC;QAEtF,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,EAA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EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAClC,SAAS,EAAE,YAAY,SAAS,EAAE,EAClC,OAAO,EAAE,OAAO,iBACJ,UAAU,YAEtB,eAAM,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,WAAW,iBAAc,iBAAiB,GAAG,GAChF,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAGH,OAAO,CAAC,YAAY,GAAG,EAAE,CAAC;AAC1B,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,eAAe,IAAI,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";export{default as KSwitch}from"./KSwitch";export*from"./KSwitch.interface";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/input/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,cAAc,qBAAqB,CAAA"}
|
package/lib/styles/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}.k-ripple{position:absolute;opacity:.1;border-radius:50%}@keyframes ripple-effect{0%{transform:scale(.1);opacity:.32}to{transform:scale(1);opacity:.1}}.k-spinner--loading{display:inline-block;border:3px solid #FFF;border-bottom-color:#ff3d00;border-radius:50%;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.k-button{position:relative;display:inline-flex;justify-content:center;align-items:center;border:1px solid transparent;background:transparent;border-radius:3px;overflow:hidden;cursor:pointer;user-select:none;transition-duration:.3s;transition-timing-function:ease}.k-button[disabled]{cursor:not-allowed}.k-button .k-button__content{white-space:nowrap}.k-button.k-button--default{color:#333;border-color:#ccc;background:#fff}.k-button.k-button--default:hover{border-color:#7a7a7a;background:#ebebeb}.k-button.k-button--default[disabled]{color:#959595;border-color:#ccc;background:#f5f5f5}.k-button.k-button--default .k-spinner--loading{border:3px solid #e6e6e6;border-bottom-color:#b3b3b3}.k-button.k-button--contained{color:#fff;border-color:#068fff;background:#068fff}.k-button.k-button--contained:hover{border-color:#0084f0;background:#0084f0}.k-button.k-button--contained[disabled]{color:#959595;border-color:#008afb;background:#008afb}.k-button.k-button--contained .k-spinner--loading{border:3px solid #e6e6e6;border-bottom-color:#b3b3b3}.k-button.k-button--outlined{color:#068fff;border-color:#068fff;background:#fff}.k-button.k-button--outlined:hover{border-color:#0084f0;background:#ebebeb}.k-button.k-button--outlined[disabled]{color:#008afb;border-color:#008afb;background:#f5f5f5}.k-button.k-button--outlined .k-spinner--loading{border:3px solid #e6e6e6;border-bottom-color:#068fff}.k-button.k-button--loading{pointer-events:none}.k-button.k-button--loading .k-button__content{opacity:0}.k-button.k-button--loading:focus-within{outline:none}.k-button.k-button--loading .k-button__loading__container{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.k-button.k-button--disabled:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0000001a}.k-button.k-button--large{height:36px;padding:0 24px}.k-button.k-button--large .k-button__content{font-size:18px;line-height:24px;font-weight:400}.k-button.k-button--large .k-spinner--loading{width:24px;height:24px}.k-button.k-button--medium{height:32px;padding:0 16px}.k-button.k-button--medium .k-button__content{font-size:16px;line-height:22px;font-weight:400}.k-button.k-button--medium .k-spinner--loading{width:18px;height:18px}.k-button.k-button--small{height:28px;padding:0 12px}.k-button.k-button--small .k-button__content{font-size:14px;line-height:20px;font-weight:400}.k-button.k-button--small .k-spinner--loading{width:16px;height:16px}.dark .k-button.k-button--default{color:#fff;border-color:#4d4d4d;background:#212121}.dark .k-button.k-button--default:hover{border-color:#5f5f5f;background:#373737}.dark .k-button.k-button--default[disabled]{color:#666;border-color:#5b5b5b;background:#333}.dark .k-button.k-button--default .k-spinner--loading{border:3px solid #4d4d4d;border-bottom-color:gray}.dark .k-button.k-button--contained[disabled]{color:#959595;border-color:#008afb;background:#008afb}.dark .k-button.k-button--contained .k-spinner--loading{border:3px solid #b3b3b3;border-bottom-color:#4d4d4d}.dark .k-button.k-button--outlined{background:#212121}.dark .k-button.k-button--outlined[disabled]{color:#008afb;background:#333}.dark .k-button.k-button--outlined .k-spinner--loading{border:3px solid #4d4d4d;border-bottom-color:#068fff}.k-text-field{display:flex;gap:6px;min-width:280px;font-size:0;width:300px}.k-text-field .k-text-field__label__container{display:flex;justify-content:space-between;align-items:center;padding:0 2px}.k-text-field .k-text-field__label__container .k-text-field__label__text{display:inline-flex;justify-content:flex-start;align-items:center;gap:2px;white-space:nowrap;color:#333}.k-text-field .k-text-field__label__container .k-text-field__label__text .k-text-field__label__text__required{color:#ed2b2a}.k-text-field .k-text-field__label__container .k-text-field__label__text.k-text-field__label__text--focus{color:#068fff;transition-property:color;transition-duration:.3s;transition-timing-function:ease}.k-text-field.k-text-field--column{flex-direction:column}.k-text-field.k-text-field--row{flex-direction:row;gap:16px}.k-text-field.k-text-field--row .k-text-field__label__container{display:flex;justify-content:flex-start;align-items:center}.k-text-field .k-text-field__input__container{display:inline-flex;justify-content:center;align-items:center;width:100%;border:1px solid #cccccc;border-radius:3px;background:#fff;caret-color:#333;transition-property:border-color;transition-duration:.3s;transition-timing-function:ease}.k-text-field .k-text-field__input__container:hover,.k-text-field .k-text-field__input__container:focus-within{border-color:#0084f0}.k-text-field .k-text-field__input__container .k-text-field__input{width:100%;padding:0;border:none;outline:none;background-color:transparent;color:#333;transition-duration:.3s;transition-timing-function:ease}.k-text-field .k-text-field__input__container .k-text-field__input::placeholder{color:#b3b3b3}.k-text-field .k-text-field__input__container .k-text-field__icon{margin-left:8px}.k-text-field.k-text-field--disabled .k-text-field__input__container{background:#f5f5f5;cursor:not-allowed}.k-text-field.k-text-field--disabled .k-text-field__input__container:hover{border-color:#ccc}.k-text-field.k-text-field--disabled .k-text-field__input__container .k-text-field__input{color:#959595;background:#f5f5f5;cursor:not-allowed}.k-text-field.k-text-field__input--password.k-text-field--large .k-text-field__input__container>.k-text-field__input{letter-spacing:4px}.k-text-field.k-text-field__input--password.k-text-field--medium .k-text-field__input__container>.k-text-field__input{letter-spacing:2px}.k-text-field.k-text-field__input--password.k-text-field--small .k-text-field__input__container>.k-text-field__input{letter-spacing:1px}.k-text-field.k-text-field--large .k-text-field__label__container .k-text-field__label__text{font-size:16px;line-height:22px;font-weight:400}.k-text-field.k-text-field--large .k-text-field__input__container{padding:10px 16px}.k-text-field.k-text-field--large .k-text-field__input__container .k-text-field__input{font-size:18px;line-height:24px;font-weight:400}.k-text-field.k-text-field--medium .k-text-field__label__container .k-text-field__label__text{font-size:14px;line-height:20px;font-weight:400}.k-text-field.k-text-field--medium .k-text-field__input__container{padding:8px 12px}.k-text-field.k-text-field--medium .k-text-field__input__container .k-text-field__input{font-size:16px;line-height:22px;font-weight:400}.k-text-field.k-text-field--small .k-text-field__label__container .k-text-field__label__text{font-size:12px;line-height:18px;font-weight:400}.k-text-field.k-text-field--small .k-text-field__input__container{padding:6px 8px}.k-text-field.k-text-field--small .k-text-field__input__container .k-text-field__input{font-size:14px;line-height:20px;font-weight:400}.dark .k-text-field.k-text-field--row .k-text-field__label__container .k-text-field__label__text,.dark .k-text-field.k-text-field--column .k-text-field__label__container .k-text-field__label__text{color:#ccc}.dark .k-text-field.k-text-field--row .k-text-field__label__container .k-text-field__label__text.k-text-field__label__text--focus,.dark .k-text-field.k-text-field--column .k-text-field__label__container .k-text-field__label__text.k-text-field__label__text--focus{color:#068fff;transition-property:color;transition-duration:.3s;transition-timing-function:ease}.dark .k-text-field.k-text-field--disabled .k-text-field__input__container{background:#333}.dark .k-text-field.k-text-field--disabled .k-text-field__input__container:hover{border-color:#4d4d4d}.dark .k-text-field.k-text-field--disabled .k-text-field__input__container .k-text-field__input{color:#666;background:#333}.dark .k-text-field .k-text-field__input__container{border:1px solid #4d4d4d;border-radius:3px;background:#212121;caret-color:#fff;font-size:0}.dark .k-text-field .k-text-field__input__container:hover,.dark .k-text-field .k-text-field__input__container:focus-within{border-color:#0084f0}.dark .k-text-field .k-text-field__input__container .k-text-field__input{color:#ccc}.dark .k-text-field .k-text-field__input__container .k-text-field__input::placeholder{color:#626262}.k-select{position:relative;display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:80px;border:1px solid #cccccc;border-radius:3px;background:#fff;white-space:nowrap;cursor:pointer;user-select:none;transition-property:border-color;transition-duration:.3s;transition-timing-function:ease}.k-select:hover{border-color:#068fff}.k-select.k-select--disabled{color:#959595;background:#f5f5f5;cursor:not-allowed}.k-select.k-select--disabled:hover{border-color:#ccc}.k-select .k-select__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.k-select .k-select__label-text__placeholder{color:#b3b3b3}.k-select .k-select__current__label__arrow-icon{transition-duration:.3s;transition-timing-function:ease}.k-select.k-select--open .k-select__current__label__arrow-icon{transform:rotate(180deg)}.k-select.k-select--open .k-select__menu-list{height:auto}.k-select .k-select__menu-list{position:absolute;top:calc(100% + 8px);left:0;width:100%;height:0;border:1px solid #cccccc;background-color:#fff;border-radius:3px;overflow:hidden;z-index:10}.k-select .k-select__menu-list .k-select__menu-list__item{width:100%;white-space:nowrap;cursor:pointer;border-bottom:1px solid #e6e6e6}.k-select .k-select__menu-list .k-select__menu-list__item:hover{background:#ebebeb}.k-select .k-select__menu-list .k-select__menu-list__item:last-child{border:none}.k-select .k-select__menu-list .k-select__menu-list__item-no-data{color:#b3b3b3}.k-select.k-select--large,.k-select.k-select--large+.k-select__template{padding:6px 10px 6px 16px;font-size:18px;line-height:24px;font-weight:400}.k-select.k-select--large .k-select__menu-list .k-select__menu-list__item{padding:6px 16px}.k-select.k-select--medium,.k-select.k-select--medium+.k-select__template{padding:6px 8px 6px 14px;font-size:16px;line-height:22px;font-weight:400}.k-select.k-select--medium .k-select__menu-list .k-select__menu-list__item{padding:6px 14px}.k-select.k-select--small,.k-select.k-select--small+.k-select__template{padding:6px 6px 6px 12px;font-size:14px;line-height:20px;font-weight:400}.k-select.k-select--small .k-select__menu-list .k-select__menu-list__item{padding:6px 10px}.dark .k-select{color:#ccc;border:1px solid #4d4d4d;border-radius:3px;background:#212121}.dark .k-select.k-select--disabled{color:#666;background:#333}.dark .k-select.k-select--disabled:hover{border-color:#4d4d4d}.dark .k-select .k-select__menu-list{border-color:#4d4d4d;background-color:#212121}.dark .k-select .k-select__menu-list .k-select__menu-list__item{border-color:#333}.dark .k-select .k-select__menu-list .k-select__menu-list__item:hover{background:#373737}.k-checkbox{display:inline-block;font-size:0;overflow:hidden;user-select:none}.k-checkbox.k-checkbox--disabled .k-checkbox__container{cursor:not-allowed}.k-checkbox.k-checkbox--disabled .k-checkbox__container .k-icon{fill:#959595}.k-checkbox.k-checkbox--disabled .k-checkbox__container .k-checkbox__container__label{color:#959595}.k-checkbox .k-checkbox__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.k-checkbox .k-checkbox__container .k-checkbox__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.k-checkbox .k-checkbox__container .k-icon{color:#333}.k-checkbox .k-checkbox__container .k-checkbox__container__label{position:relative;top:1px;color:#333}.k-checkbox.k-checkbox--large .k-checkbox__container .k-checkbox__container__label{font-size:18px;line-height:24px;font-weight:400}.k-checkbox.k-checkbox--medium .k-checkbox__container .k-checkbox__container__label{font-size:16px;line-height:22px;font-weight:400}.k-checkbox.k-checkbox--small .k-checkbox__container .k-checkbox__container__label{font-size:14px;line-height:20px;font-weight:400}.dark .k-checkbox.k-checkbox--disabled{color:#666}.dark .k-checkbox.k-checkbox--disabled .k-checkbox__container{cursor:not-allowed}.dark .k-checkbox.k-checkbox--disabled .k-checkbox__container .k-icon{fill:#666}.dark .k-checkbox.k-checkbox--disabled .k-checkbox__container .k-checkbox__container__label{color:#666}.dark .k-checkbox .k-checkbox__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.dark .k-checkbox .k-checkbox__container .k-checkbox__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.dark .k-checkbox .k-checkbox__container .k-icon,.dark .k-checkbox .k-checkbox__container .k-checkbox__container__label{color:#ccc}.k-checkbox-group{display:inline-flex;justify-content:space-between;align-items:center;gap:8px}.k-checkbox-group.k-checkbox-group--row{flex-direction:row}.k-checkbox-group.k-checkbox-group--column{flex-direction:column;align-items:flex-start}.k-checkbox-group.k-checkbox-group--small{gap:12px}.k-checkbox-group.k-checkbox-group--medium{gap:14px}.k-checkbox-group.k-checkbox-group--large{gap:16px}.k-radio{display:inline-block;font-size:0;overflow:hidden;user-select:none}.k-radio.k-radio--disabled .k-radio__container{cursor:not-allowed}.k-radio.k-radio--disabled .k-radio__container .k-icon{fill:#959595}.k-radio.k-radio--disabled .k-radio__container .k-radio__container__label{color:#959595}.k-radio .k-radio__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.k-radio .k-radio__container .k-radio__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.k-radio .k-radio__container .k-icon{color:#333}.k-radio .k-radio__container .k-radio__container__label{position:relative;top:1px;color:#333}.k-radio.k-radio--large .k-radio__container .k-radio__container__label{font-size:18px;line-height:24px;font-weight:400}.k-radio.k-radio--medium .k-radio__container .k-radio__container__label{font-size:16px;line-height:22px;font-weight:400}.k-radio.k-radio--small .k-radio__container .k-radio__container__label{font-size:14px;line-height:20px;font-weight:400}.dark .k-radio.k-radio--disabled{color:#666}.dark .k-radio.k-radio--disabled .k-radio__container{cursor:not-allowed}.dark .k-radio.k-radio--disabled .k-radio__container .k-icon{fill:#666}.dark .k-radio.k-radio--disabled .k-radio__container .k-radio__container__label{color:#666}.dark .k-radio .k-radio__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.dark .k-radio .k-radio__container .k-radio__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.dark .k-radio .k-radio__container .k-icon,.dark .k-radio .k-radio__container .k-radio__container__label{color:#ccc}.k-icon{user-select:none;fill:#333}.k-icon.k-icon--clickable{cursor:pointer}.k-icon.k-icon--disabled{cursor:not-allowed}.k-icon svg{width:100%;height:100%}.k-icon.k-icon--large svg{font-size:42px;width:42px;height:42px}.k-icon.k-icon--medium svg{font-size:36px;width:36px;height:36px}.k-icon.k-icon--small svg{font-size:28px;width:28px;height:28px}.dark .k-icon{fill:#ccc}.k-drop-holder{display:inline-block;font-size:0;cursor:pointer}.k-drop-holder__anchor__wrapper .k-drop-holder__anchor__container{padding:12px;border:1px solid #000}.k-chip{position:relative;display:flex;justify-content:space-between;align-items:center;border-width:1px;border-style:solid;cursor:pointer;overflow:hidden;user-select:none}.k-chip.k-chip--disabled{cursor:not-allowed}.k-chip.k-chip--contained{color:#fff;border:none;background-color:#068fff}.k-chip.k-chip--contained .k-icon{fill:#fff}.k-chip.k-chip--contained.k-chip--disabled{color:#959595;background-color:#008afb}.k-chip.k-chip--contained.k-chip--disabled .k-icon{fill:#959595}.k-chip.k-chip--outlined{color:#068fff;border-color:#068fff}.k-chip.k-chip--outlined .k-icon{fill:#068fff}.k-chip.k-chip--outlined.k-chip--disabled{color:#008afb;background-color:#f5f5f5}.k-chip.k-chip--default{color:#999;border-color:#ccc;background-color:#fff}.k-chip.k-chip--default .k-icon{fill:#999}.k-chip.k-chip--default.k-chip--disabled{color:#959595;border-color:#959595;background-color:#f5f5f5}.k-chip.k-chip--default.k-chip--disabled .k-icon{fill:#959595}.k-chip.k-chip--large{gap:4px;height:30px;padding:6px 10px;border-radius:3px}.k-chip.k-chip--large .k-chip__label{font-size:18px}.k-chip.k-chip--large.k-chip--closeable{padding-right:12px}.k-chip.k-chip--large.k-chip--rounded{border-radius:15px}.k-chip.k-chip--medium{gap:2px;height:28px;padding:2px 10px;border-radius:3px}.k-chip.k-chip--medium .k-chip__label{font-size:16px}.k-chip.k-chip--medium.k-chip--closeable{padding-right:8px}.k-chip.k-chip--medium.k-chip--rounded{border-radius:14px}.k-chip.k-chip--small{gap:2px;height:26px;padding:2px 8px;border-radius:3px}.k-chip.k-chip--small .k-chip__label{font-size:14px}.k-chip.k-chip--small.k-chip--closeable{padding-right:8px}.k-chip.k-chip--small.k-chip--rounded{border-radius:13px}
|
|
1
|
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}.k-ripple{position:absolute;opacity:.1;border-radius:50%}@keyframes ripple-effect{0%{transform:scale(.1);opacity:.32}to{transform:scale(1);opacity:.1}}.k-spinner--loading{display:inline-block;border:3px solid #FFF;border-bottom-color:#ff3d00;border-radius:50%;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.k-button{position:relative;display:inline-flex;justify-content:center;align-items:center;border:1px solid transparent;background:transparent;border-radius:3px;overflow:hidden;cursor:pointer;user-select:none;transition-duration:.3s;transition-timing-function:ease}.k-button[disabled]{cursor:not-allowed}.k-button .k-button__content{white-space:nowrap}.k-button.k-button--default{color:#333;border-color:#ccc;background:#fff}.k-button.k-button--default:hover{border-color:#7a7a7a;background:#ebebeb}.k-button.k-button--default[disabled]{color:#959595;border-color:#ccc;background:#f5f5f5}.k-button.k-button--default .k-spinner--loading{border:3px solid #e6e6e6;border-bottom-color:#b3b3b3}.k-button.k-button--contained{color:#fff;border-color:#068fff;background:#068fff}.k-button.k-button--contained:hover{border-color:#0084f0;background:#0084f0}.k-button.k-button--contained[disabled]{color:#959595;border-color:#008afb;background:#008afb}.k-button.k-button--contained .k-spinner--loading{border:3px solid #e6e6e6;border-bottom-color:#b3b3b3}.k-button.k-button--outlined{color:#068fff;border-color:#068fff;background:#fff}.k-button.k-button--outlined:hover{border-color:#0084f0;background:#ebebeb}.k-button.k-button--outlined[disabled]{color:#008afb;border-color:#008afb;background:#f5f5f5}.k-button.k-button--outlined .k-spinner--loading{border:3px solid #e6e6e6;border-bottom-color:#068fff}.k-button.k-button--loading{pointer-events:none}.k-button.k-button--loading .k-button__content{opacity:0}.k-button.k-button--loading:focus-within{outline:none}.k-button.k-button--loading .k-button__loading__container{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.k-button.k-button--disabled:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0000001a}.k-button.k-button--large{height:36px;padding:0 24px}.k-button.k-button--large .k-button__content{font-size:18px;line-height:24px;font-weight:400}.k-button.k-button--large .k-spinner--loading{width:24px;height:24px}.k-button.k-button--medium{height:32px;padding:0 16px}.k-button.k-button--medium .k-button__content{font-size:16px;line-height:22px;font-weight:400}.k-button.k-button--medium .k-spinner--loading{width:18px;height:18px}.k-button.k-button--small{height:28px;padding:0 12px}.k-button.k-button--small .k-button__content{font-size:14px;line-height:20px;font-weight:400}.k-button.k-button--small .k-spinner--loading{width:16px;height:16px}.dark .k-button.k-button--default{color:#fff;border-color:#4d4d4d;background:#212121}.dark .k-button.k-button--default:hover{border-color:#5f5f5f;background:#373737}.dark .k-button.k-button--default[disabled]{color:#666;border-color:#5b5b5b;background:#333}.dark .k-button.k-button--default .k-spinner--loading{border:3px solid #4d4d4d;border-bottom-color:gray}.dark .k-button.k-button--contained[disabled]{color:#959595;border-color:#008afb;background:#008afb}.dark .k-button.k-button--contained .k-spinner--loading{border:3px solid #b3b3b3;border-bottom-color:#4d4d4d}.dark .k-button.k-button--outlined{background:#212121}.dark .k-button.k-button--outlined[disabled]{color:#008afb;background:#333}.dark .k-button.k-button--outlined .k-spinner--loading{border:3px solid #4d4d4d;border-bottom-color:#068fff}.k-text-field{display:flex;gap:6px;min-width:280px;font-size:0;width:300px}.k-text-field .k-text-field__label__container{display:flex;justify-content:space-between;align-items:center;padding:0 2px}.k-text-field .k-text-field__label__container .k-text-field__label__text{display:inline-flex;justify-content:flex-start;align-items:center;gap:2px;white-space:nowrap;color:#333}.k-text-field .k-text-field__label__container .k-text-field__label__text .k-text-field__label__text__required{color:#ed2b2a}.k-text-field .k-text-field__label__container .k-text-field__label__text.k-text-field__label__text--focus{color:#068fff;transition-property:color;transition-duration:.3s;transition-timing-function:ease}.k-text-field.k-text-field--column{flex-direction:column}.k-text-field.k-text-field--row{flex-direction:row;gap:16px}.k-text-field.k-text-field--row .k-text-field__label__container{display:flex;justify-content:flex-start;align-items:center}.k-text-field .k-text-field__input__container{display:inline-flex;justify-content:center;align-items:center;width:100%;border:1px solid #cccccc;border-radius:3px;background:#fff;caret-color:#333;transition-property:border-color;transition-duration:.3s;transition-timing-function:ease}.k-text-field .k-text-field__input__container:hover,.k-text-field .k-text-field__input__container:focus-within{border-color:#0084f0}.k-text-field .k-text-field__input__container .k-text-field__input{width:100%;padding:0;border:none;outline:none;background-color:transparent;color:#333;transition-duration:.3s;transition-timing-function:ease}.k-text-field .k-text-field__input__container .k-text-field__input::placeholder{color:#b3b3b3}.k-text-field .k-text-field__input__container .k-text-field__icon{margin-left:8px}.k-text-field.k-text-field--disabled .k-text-field__input__container{background:#f5f5f5;cursor:not-allowed}.k-text-field.k-text-field--disabled .k-text-field__input__container:hover{border-color:#ccc}.k-text-field.k-text-field--disabled .k-text-field__input__container .k-text-field__input{color:#959595;background:#f5f5f5;cursor:not-allowed}.k-text-field.k-text-field__input--password.k-text-field--large .k-text-field__input__container>.k-text-field__input{letter-spacing:4px}.k-text-field.k-text-field__input--password.k-text-field--medium .k-text-field__input__container>.k-text-field__input{letter-spacing:2px}.k-text-field.k-text-field__input--password.k-text-field--small .k-text-field__input__container>.k-text-field__input{letter-spacing:1px}.k-text-field.k-text-field--large .k-text-field__label__container .k-text-field__label__text{font-size:16px;line-height:22px;font-weight:400}.k-text-field.k-text-field--large .k-text-field__input__container{padding:10px 16px}.k-text-field.k-text-field--large .k-text-field__input__container .k-text-field__input{font-size:18px;line-height:24px;font-weight:400}.k-text-field.k-text-field--medium .k-text-field__label__container .k-text-field__label__text{font-size:14px;line-height:20px;font-weight:400}.k-text-field.k-text-field--medium .k-text-field__input__container{padding:8px 12px}.k-text-field.k-text-field--medium .k-text-field__input__container .k-text-field__input{font-size:16px;line-height:22px;font-weight:400}.k-text-field.k-text-field--small .k-text-field__label__container .k-text-field__label__text{font-size:12px;line-height:18px;font-weight:400}.k-text-field.k-text-field--small .k-text-field__input__container{padding:6px 8px}.k-text-field.k-text-field--small .k-text-field__input__container .k-text-field__input{font-size:14px;line-height:20px;font-weight:400}.dark .k-text-field.k-text-field--row .k-text-field__label__container .k-text-field__label__text,.dark .k-text-field.k-text-field--column .k-text-field__label__container .k-text-field__label__text{color:#ccc}.dark .k-text-field.k-text-field--row .k-text-field__label__container .k-text-field__label__text.k-text-field__label__text--focus,.dark .k-text-field.k-text-field--column .k-text-field__label__container .k-text-field__label__text.k-text-field__label__text--focus{color:#068fff;transition-property:color;transition-duration:.3s;transition-timing-function:ease}.dark .k-text-field.k-text-field--disabled .k-text-field__input__container{background:#333}.dark .k-text-field.k-text-field--disabled .k-text-field__input__container:hover{border-color:#4d4d4d}.dark .k-text-field.k-text-field--disabled .k-text-field__input__container .k-text-field__input{color:#666;background:#333}.dark .k-text-field .k-text-field__input__container{border:1px solid #4d4d4d;border-radius:3px;background:#212121;caret-color:#fff;font-size:0}.dark .k-text-field .k-text-field__input__container:hover,.dark .k-text-field .k-text-field__input__container:focus-within{border-color:#0084f0}.dark .k-text-field .k-text-field__input__container .k-text-field__input{color:#ccc}.dark .k-text-field .k-text-field__input__container .k-text-field__input::placeholder{color:#626262}.k-select{position:relative;display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:80px;border:1px solid #cccccc;border-radius:3px;background:#fff;white-space:nowrap;cursor:pointer;user-select:none;transition-property:border-color;transition-duration:.3s;transition-timing-function:ease}.k-select:hover{border-color:#068fff}.k-select.k-select--disabled{color:#959595;background:#f5f5f5;cursor:not-allowed}.k-select.k-select--disabled:hover{border-color:#ccc}.k-select .k-select__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.k-select .k-select__label-text__placeholder{color:#b3b3b3}.k-select .k-select__current__label__arrow-icon{transition-duration:.3s;transition-timing-function:ease}.k-select.k-select--open .k-select__current__label__arrow-icon{transform:rotate(180deg)}.k-select.k-select--open .k-select__menu-list{height:auto}.k-select .k-select__menu-list{position:absolute;top:calc(100% + 8px);left:0;width:100%;height:0;border:1px solid #cccccc;background-color:#fff;border-radius:3px;overflow:hidden;z-index:10}.k-select .k-select__menu-list .k-select__menu-list__item{width:100%;white-space:nowrap;cursor:pointer;border-bottom:1px solid #e6e6e6}.k-select .k-select__menu-list .k-select__menu-list__item:hover{background:#ebebeb}.k-select .k-select__menu-list .k-select__menu-list__item:last-child{border:none}.k-select .k-select__menu-list .k-select__menu-list__item-no-data{color:#b3b3b3}.k-select.k-select--large,.k-select.k-select--large+.k-select__template{padding:6px 10px 6px 16px;font-size:18px;line-height:24px;font-weight:400}.k-select.k-select--large .k-select__menu-list .k-select__menu-list__item{padding:6px 16px}.k-select.k-select--medium,.k-select.k-select--medium+.k-select__template{padding:6px 8px 6px 14px;font-size:16px;line-height:22px;font-weight:400}.k-select.k-select--medium .k-select__menu-list .k-select__menu-list__item{padding:6px 14px}.k-select.k-select--small,.k-select.k-select--small+.k-select__template{padding:6px 6px 6px 12px;font-size:14px;line-height:20px;font-weight:400}.k-select.k-select--small .k-select__menu-list .k-select__menu-list__item{padding:6px 10px}.dark .k-select{color:#ccc;border:1px solid #4d4d4d;border-radius:3px;background:#212121}.dark .k-select.k-select--disabled{color:#666;background:#333}.dark .k-select.k-select--disabled:hover{border-color:#4d4d4d}.dark .k-select .k-select__menu-list{border-color:#4d4d4d;background-color:#212121}.dark .k-select .k-select__menu-list .k-select__menu-list__item{border-color:#333}.dark .k-select .k-select__menu-list .k-select__menu-list__item:hover{background:#373737}.k-checkbox{display:inline-block;font-size:0;overflow:hidden;user-select:none}.k-checkbox.k-checkbox--disabled .k-checkbox__container{cursor:not-allowed}.k-checkbox.k-checkbox--disabled .k-checkbox__container .k-icon{fill:#959595}.k-checkbox.k-checkbox--disabled .k-checkbox__container .k-checkbox__container__label{color:#959595}.k-checkbox .k-checkbox__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.k-checkbox .k-checkbox__container .k-checkbox__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.k-checkbox .k-checkbox__container .k-icon{color:#333}.k-checkbox .k-checkbox__container .k-checkbox__container__label{position:relative;top:1px;color:#333}.k-checkbox.k-checkbox--large .k-checkbox__container .k-checkbox__container__label{font-size:18px;line-height:24px;font-weight:400}.k-checkbox.k-checkbox--medium .k-checkbox__container .k-checkbox__container__label{font-size:16px;line-height:22px;font-weight:400}.k-checkbox.k-checkbox--small .k-checkbox__container .k-checkbox__container__label{font-size:14px;line-height:20px;font-weight:400}.dark .k-checkbox.k-checkbox--disabled{color:#666}.dark .k-checkbox.k-checkbox--disabled .k-checkbox__container{cursor:not-allowed}.dark .k-checkbox.k-checkbox--disabled .k-checkbox__container .k-icon{fill:#666}.dark .k-checkbox.k-checkbox--disabled .k-checkbox__container .k-checkbox__container__label{color:#666}.dark .k-checkbox .k-checkbox__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.dark .k-checkbox .k-checkbox__container .k-checkbox__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.dark .k-checkbox .k-checkbox__container .k-icon,.dark .k-checkbox .k-checkbox__container .k-checkbox__container__label{color:#ccc}.k-checkbox-group{display:inline-flex;justify-content:space-between;align-items:center;gap:8px}.k-checkbox-group.k-checkbox-group--row{flex-direction:row}.k-checkbox-group.k-checkbox-group--column{flex-direction:column;align-items:flex-start}.k-checkbox-group.k-checkbox-group--small{gap:12px}.k-checkbox-group.k-checkbox-group--medium{gap:14px}.k-checkbox-group.k-checkbox-group--large{gap:16px}.k-radio{display:inline-block;font-size:0;overflow:hidden;user-select:none}.k-radio.k-radio--disabled .k-radio__container{cursor:not-allowed}.k-radio.k-radio--disabled .k-radio__container .k-icon{fill:#959595}.k-radio.k-radio--disabled .k-radio__container .k-radio__container__label{color:#959595}.k-radio .k-radio__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.k-radio .k-radio__container .k-radio__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.k-radio .k-radio__container .k-icon{color:#333}.k-radio .k-radio__container .k-radio__container__label{position:relative;top:1px;color:#333}.k-radio.k-radio--large .k-radio__container .k-radio__container__label{font-size:18px;line-height:24px;font-weight:400}.k-radio.k-radio--medium .k-radio__container .k-radio__container__label{font-size:16px;line-height:22px;font-weight:400}.k-radio.k-radio--small .k-radio__container .k-radio__container__label{font-size:14px;line-height:20px;font-weight:400}.dark .k-radio.k-radio--disabled{color:#666}.dark .k-radio.k-radio--disabled .k-radio__container{cursor:not-allowed}.dark .k-radio.k-radio--disabled .k-radio__container .k-icon{fill:#666}.dark .k-radio.k-radio--disabled .k-radio__container .k-radio__container__label{color:#666}.dark .k-radio .k-radio__container{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.dark .k-radio .k-radio__container .k-radio__container__input{position:absolute;z-index:-9999;top:-9999px;left:-9999px;opacity:0}.dark .k-radio .k-radio__container .k-icon,.dark .k-radio .k-radio__container .k-radio__container__label{color:#ccc}.k-switch{position:relative;border:none;background:#f2f2f2;cursor:pointer;padding:0;transition:background-color .24s ease;overflow:hidden}.k-switch.k-switch--on{background:#068fff}.k-switch.k-switch--disabled{cursor:not-allowed}.k-switch.k-switch--disabled:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#000;opacity:.16;z-index:1}.k-switch .k-switch__toggle{position:absolute;font-size:0;background:#fff;border-radius:50%;transition:left .3s ease}.k-switch.k-switch--large{width:62px;height:34px;border-radius:17px}.k-switch.k-switch--large .k-switch__toggle{width:28px;height:28px}.k-switch.k-switch--large.k-switch--on .k-switch__toggle{top:3px;left:calc(100% - 31px)}.k-switch.k-switch--large.k-switch--off .k-switch__toggle{top:3px;left:3px}.k-switch.k-switch--medium{width:54px;height:30px;border-radius:15px}.k-switch.k-switch--medium .k-switch__toggle{width:24px;height:24px}.k-switch.k-switch--medium.k-switch--on .k-switch__toggle{top:3px;left:calc(100% - 27px)}.k-switch.k-switch--medium.k-switch--off .k-switch__toggle{top:3px;left:3px}.k-switch.k-switch--small{width:48px;height:26px;border-radius:13px}.k-switch.k-switch--small .k-switch__toggle{width:20px;height:20px}.k-switch.k-switch--small.k-switch--on .k-switch__toggle{top:3px;left:calc(100% - 23px)}.k-switch.k-switch--small.k-switch--off .k-switch__toggle{top:3px;left:3px}.k-icon{user-select:none;fill:#333}.k-icon.k-icon--clickable{cursor:pointer}.k-icon.k-icon--disabled{cursor:not-allowed}.k-icon svg{width:100%;height:100%}.k-icon.k-icon--large svg{font-size:42px;width:42px;height:42px}.k-icon.k-icon--medium svg{font-size:36px;width:36px;height:36px}.k-icon.k-icon--small svg{font-size:28px;width:28px;height:28px}.dark .k-icon{fill:#ccc}.k-drop-holder{display:inline-block;font-size:0;cursor:pointer}.k-drop-holder__anchor__wrapper .k-drop-holder__anchor__container{padding:12px;border:1px solid #000}.k-chip{position:relative;display:flex;justify-content:space-between;align-items:center;border-width:1px;border-style:solid;cursor:pointer;overflow:hidden;user-select:none}.k-chip.k-chip--disabled{cursor:not-allowed}.k-chip.k-chip--contained{color:#fff;border:none;background-color:#068fff}.k-chip.k-chip--contained .k-icon{fill:#fff}.k-chip.k-chip--contained.k-chip--disabled{color:#959595;background-color:#008afb}.k-chip.k-chip--contained.k-chip--disabled .k-icon{fill:#959595}.k-chip.k-chip--outlined{color:#068fff;border-color:#068fff}.k-chip.k-chip--outlined .k-icon{fill:#068fff}.k-chip.k-chip--outlined.k-chip--disabled{color:#008afb;background-color:#f5f5f5}.k-chip.k-chip--default{color:#999;border-color:#ccc;background-color:#fff}.k-chip.k-chip--default .k-icon{fill:#999}.k-chip.k-chip--default.k-chip--disabled{color:#959595;border-color:#959595;background-color:#f5f5f5}.k-chip.k-chip--default.k-chip--disabled .k-icon{fill:#959595}.k-chip.k-chip--large{gap:4px;height:30px;padding:6px 10px;border-radius:3px}.k-chip.k-chip--large .k-chip__label{font-size:18px}.k-chip.k-chip--large.k-chip--closeable{padding-right:12px}.k-chip.k-chip--large.k-chip--rounded{border-radius:15px}.k-chip.k-chip--medium{gap:2px;height:28px;padding:2px 10px;border-radius:3px}.k-chip.k-chip--medium .k-chip__label{font-size:16px}.k-chip.k-chip--medium.k-chip--closeable{padding-right:8px}.k-chip.k-chip--medium.k-chip--rounded{border-radius:14px}.k-chip.k-chip--small{gap:2px;height:26px;padding:2px 8px;border-radius:3px}.k-chip.k-chip--small .k-chip__label{font-size:14px}.k-chip.k-chip--small.k-chip--closeable{padding-right:8px}.k-chip.k-chip--small.k-chip--rounded{border-radius:13px}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kku-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.461",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "lib/esm/index.js",
|
|
6
6
|
"main": "lib/esm/index.js",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"vite-plugin-eslint": "^1.8.1"
|
|
85
85
|
},
|
|
86
86
|
"license": "MIT",
|
|
87
|
-
"packageManager": "yarn@4.1.
|
|
87
|
+
"packageManager": "yarn@4.1.1"
|
|
88
88
|
}
|