@lotte-innovate/ui-component-test 0.0.158 → 0.0.160
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/globals.css +1 -1
- package/dist/lib/color/constants.mjs +1 -1
- package/dist/lib/color/constants.mjs.map +1 -1
- package/dist/lib/color/dark.mjs +2 -0
- package/dist/lib/color/dark.mjs.map +1 -0
- package/dist/lib/color/index.d.ts +5 -0
- package/dist/lib/color/index.js +5 -0
- package/dist/lib/color/krdsColors.mjs +2 -0
- package/dist/lib/color/krdsColors.mjs.map +1 -0
- package/dist/lib/color/light.mjs +1 -1
- package/dist/lib/color/light.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +1 -1
- package/dist/lib/components/CheckboxGroup/index.d.ts +1 -1
- package/dist/lib/components/Datepicker/index.js +1 -2
- package/dist/lib/components/Datepicker/index.mjs +1 -1
- package/dist/lib/components/Dialog/DialogRoot.d.ts +2 -1
- package/dist/lib/components/DoughnutChart/index.d.ts +2 -2
- package/dist/lib/components/DoughnutChart/index.js +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs +1 -1
- package/dist/lib/components/Grid/NumberingPagination.js +15 -14
- package/dist/lib/components/Grid/NumberingPagination.mjs +1 -1
- package/dist/lib/components/Grid/NumberingPagination.mjs.map +1 -1
- package/dist/lib/components/Grid/useGrid.js +10 -4
- package/dist/lib/components/Grid/useGrid.mjs +1 -1
- package/dist/lib/components/LineChart/index.js +11 -1
- package/dist/lib/components/LineChart/index.mjs +1 -1
- package/dist/lib/components/Modal/ModalCancel.mjs +1 -1
- package/dist/lib/components/Modal/ModalRoot.d.ts +2 -2
- package/dist/lib/components/PieChart/index.d.ts +2 -2
- package/dist/lib/components/PieChart/index.js +1 -1
- package/dist/lib/components/PieChart/index.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +3 -1
- package/dist/lib/components/RadioCards/index.d.ts +1 -1
- package/dist/lib/components/Select/index.d.ts +4 -4
- package/dist/lib/components/Select/index.js +2 -2
- package/dist/lib/components/Select/index.mjs +1 -1
- package/dist/lib/components/Separator/index.d.ts +1 -1
- package/dist/lib/components/Slider/index.d.ts +1 -1
- package/dist/lib/components/Table/index.js +15 -2
- package/dist/lib/components/Table/index.mjs +1 -1
- package/dist/lib/components/Timeline/TimelineDescription.js +1 -1
- package/dist/lib/components/Timeline/TimelineDescription.mjs +1 -1
- package/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -1
- package/dist/lib/components/Tree/index.js +1 -1
- package/dist/lib/components/Tree/index.mjs +2 -1
- package/dist/lib/components/Tree/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/types.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
import{crimson as r,orange as a,amber as
|
1
|
+
import{crimson as r,orange as a,amber as k,teal as e,blue as D,purple as l,slate as o,red as i,brown as n,yellow as s,lime as t,grass as m,sky as A,cyan as b,indigo as d,plum as g}from"./light.mjs";import{crimsonA as p,orangeA as u,amberA as y,tealA as w,blueA as c,purpleA as v,slateA as j,redA as z,brownA as h,yellowA as x,limeA as f,grassA as q,skyA as B,cyanA as C,indigoA as E,plumA as F}from"./alpha.mjs";var G="red",H=["slate","olive","sand","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","bronze","gold","sky","mint","lime","yellow","amber","orange"],I=["slateA","oliveA","sandA","tomatoA","redA","rubyA","crimsonA","pinkA","plumA","purpleA","violetA","irisA","indigoA","blueA","cyanA","tealA","jadeA","greenA","grassA","brownA","bronzeA","goldA","skyA","mintA","limeA","yellowA","amberA","orangeA"],J=["blackDark","slateDark","oliveDark","sandDark","tomatoDark","redDark","rubyDark","crimsonDark","pinkDark","plumDark","purpleDark","violetDark","irisDark","indigoDark","blueDark","cyanDark","tealDark","jadeDark","greenDark","grassDark","brownDark","bronzeDark","goldDark","skyDark","mintDark","limeDark","yellowDark","amberDark","orangeDark","slateDarkA","oliveDarkA","sandDarkA","tomatoDarkA","redDarkA","rubyDarkA","crimsonDarkA","pinkDarkA","plumDarkA","purpleDarkA","violetDarkA","irisDarkA","indigoDarkA","blueDarkA","cyanDarkA","tealDarkA","jadeDarkA","greenDarkA","grassDarkA","brownDarkA","bronzeDarkA","goldDarkA","skyDarkA","mintDarkA","limeDarkA","yellowDarkA","amberDarkA","orangeDarkA","whiteDark"],K={black:"slate-12",white:"white",slate:"slate-9",olive:"olive-9",sand:"sand-9",tomato:"tomato-9",red:"red-9",ruby:"ruby-9",crimson:"crimson-9",pink:"pink-9",plum:"plum-9",purple:"purple-9",violet:"violet-9",iris:"iris-9",indigo:"indigo-9",blue:"blue-9",cyan:"cyan-9",teal:"teal-9",jade:"jade-9",green:"green-9",grass:"grass-9",brown:"brown-9",bronze:"bronze-9",gold:"gold-9",sky:"sky-9",mint:"mint-9",lime:"lime-9",yellow:"yellow-9",amber:"amber-9",orange:"orange-9"},L={blackDark:"slateDark-12",whiteDark:"slateDark-1",slateDark:"slateDark-9",oliveDark:"oliveDark-9",sandDark:"sandDark-9",tomatoDark:"tomatoDark-9",redDark:"redDark-9",rubyDark:"rubyDark-9",crimsonDark:"crimsonDark-9",pinkDark:"pinkDark-9",plumDark:"plumDark-9",purpleDark:"purpleDark-9",violetDark:"violetDark-9",irisDark:"irisDark-9",indigoDark:"indigoDark-9",blueDark:"blueDark-9",cyanDark:"cyanDark-9",tealDark:"tealDark-9",jadeDark:"jadeDark-9",greenDark:"greenDark-9",grassDark:"grassDark-9",brownDark:"brownDark-9",bronzeDark:"bronzeDark-9",goldDark:"goldDark-9",skyDark:"skyDark-9",mintDark:"mintDark-9",limeDark:"limeDark-9",yellowDark:"yellowDark-9",amberDark:"amberDark-9",orangeDark:"orangeDark-9"},M={sorting:[r[9],a[9],k[9],e[9],D[9],l[9],o[9],i[9],n[9],s[9],t[9],m[9],A[9],b[9],d[9],g[9]],mixed:[D[9],r[9],e[9],a[9],l[9],k[9],o[9],b[9],i[9],m[9],n[9],d[9],g[9],s[9],A[9],t[9]]},N={sorting:[p[2],u[2],y[2],w[2],c[2],v[2],j[2],z[2],h[2],x[2],f[2],q[2],B[2],C[2],E[2],F[2]],mixed:[c[2],p[2],w[2],u[2],v[2],y[2],j[2],C[2],z[2],q[2],h[2],E[2],F[2],x[2],B[2],f[2]]};export{K as ColorStyle,L as DarkColorStyle,G as MAIN_COLOR,I as alphaColorOptions,N as chartAlphaColorList,M as chartColorList,H as colorOptions,J as darkColorOptions};
|
2
2
|
//# sourceMappingURL=constants.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.mjs","sources":["../../lib/color/constants.js"],"sourcesContent":["import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';\nimport { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';\nexport var MAIN_COLOR = 'red';\nexport var colorOptions = [\n // 'black',\n 'slate',\n 'olive',\n 'sand',\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'bronze',\n 'gold',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'orange',\n // 'white',\n];\nexport var alphaColorOptions = [\n 'slateA',\n 'oliveA',\n 'sandA',\n 'tomatoA',\n 'redA',\n 'rubyA',\n 'crimsonA',\n 'pinkA',\n 'plumA',\n 'purpleA',\n 'violetA',\n 'irisA',\n 'indigoA',\n 'blueA',\n 'cyanA',\n 'tealA',\n 'jadeA',\n 'greenA',\n 'grassA',\n 'brownA',\n 'bronzeA',\n 'goldA',\n 'skyA',\n 'mintA',\n 'limeA',\n 'yellowA',\n 'amberA',\n 'orangeA',\n];\nexport var darkColorOptions = [\n 'blackDark',\n 'slateDark',\n 'oliveDark',\n 'sandDark',\n 'tomatoDark',\n 'redDark',\n 'rubyDark',\n 'crimsonDark',\n 'pinkDark',\n 'plumDark',\n 'purpleDark',\n 'violetDark',\n 'irisDark',\n 'indigoDark',\n 'blueDark',\n 'cyanDark',\n 'tealDark',\n 'jadeDark',\n 'greenDark',\n 'grassDark',\n 'brownDark',\n 'bronzeDark',\n 'goldDark',\n 'skyDark',\n 'mintDark',\n 'limeDark',\n 'yellowDark',\n 'amberDark',\n 'orangeDark',\n 'slateDarkA',\n 'oliveDarkA',\n 'sandDarkA',\n 'tomatoDarkA',\n 'redDarkA',\n 'rubyDarkA',\n 'crimsonDarkA',\n 'pinkDarkA',\n 'plumDarkA',\n 'purpleDarkA',\n 'violetDarkA',\n 'irisDarkA',\n 'indigoDarkA',\n 'blueDarkA',\n 'cyanDarkA',\n 'tealDarkA',\n 'jadeDarkA',\n 'greenDarkA',\n 'grassDarkA',\n 'brownDarkA',\n 'bronzeDarkA',\n 'goldDarkA',\n 'skyDarkA',\n 'mintDarkA',\n 'limeDarkA',\n 'yellowDarkA',\n 'amberDarkA',\n 'orangeDarkA',\n 'whiteDark',\n];\nexport var ColorStyle = {\n black: 'slate-12',\n white: 'white',\n slate: 'slate-9',\n olive: 'olive-9',\n sand: 'sand-9',\n tomato: 'tomato-9',\n red: 'red-9',\n ruby: 'ruby-9',\n crimson: 'crimson-9',\n pink: 'pink-9',\n plum: 'plum-9',\n purple: 'purple-9',\n violet: 'violet-9',\n iris: 'iris-9',\n indigo: 'indigo-9',\n blue: 'blue-9',\n cyan: 'cyan-9',\n teal: 'teal-9',\n jade: 'jade-9',\n green: 'green-9',\n grass: 'grass-9',\n brown: 'brown-9',\n bronze: 'bronze-9',\n gold: 'gold-9',\n sky: 'sky-9',\n mint: 'mint-9',\n lime: 'lime-9',\n yellow: 'yellow-9',\n amber: 'amber-9',\n orange: 'orange-9',\n};\nexport var DarkColorStyle = {\n blackDark: 'slateDark-12',\n whiteDark: 'slateDark-1',\n slateDark: 'slateDark-9',\n oliveDark: 'oliveDark-9',\n sandDark: 'sandDark-9',\n tomatoDark: 'tomatoDark-9',\n redDark: 'redDark-9',\n rubyDark: 'rubyDark-9',\n crimsonDark: 'crimsonDark-9',\n pinkDark: 'pinkDark-9',\n plumDark: 'plumDark-9',\n purpleDark: 'purpleDark-9',\n violetDark: 'violetDark-9',\n irisDark: 'irisDark-9',\n indigoDark: 'indigoDark-9',\n blueDark: 'blueDark-9',\n cyanDark: 'cyanDark-9',\n tealDark: 'tealDark-9',\n jadeDark: 'jadeDark-9',\n greenDark: 'greenDark-9',\n grassDark: 'grassDark-9',\n brownDark: 'brownDark-9',\n bronzeDark: 'bronzeDark-9',\n goldDark: 'goldDark-9',\n skyDark: 'skyDark-9',\n mintDark: 'mintDark-9',\n limeDark: 'limeDark-9',\n yellowDark: 'yellowDark-9',\n amberDark: 'amberDark-9',\n orangeDark: 'orangeDark-9',\n};\nexport var chartColorList = {\n sorting: [\n crimson[9],\n orange[9],\n amber[9],\n teal[9],\n blue[9],\n purple[9],\n slate[9],\n red[9],\n brown[9],\n yellow[9],\n lime[9],\n grass[9],\n sky[9],\n cyan[9],\n indigo[9],\n plum[9],\n ],\n mixed: [\n blue[9],\n crimson[9],\n teal[9],\n orange[9],\n purple[9],\n amber[9],\n slate[9],\n cyan[9],\n red[9],\n grass[9],\n brown[9],\n indigo[9],\n plum[9],\n yellow[9],\n sky[9],\n lime[9],\n ],\n};\nexport var chartAlphaColorList = {\n sorting: [\n crimsonA[2],\n orangeA[2],\n amberA[2],\n tealA[2],\n blueA[2],\n purpleA[2],\n slateA[2],\n redA[2],\n brownA[2],\n yellowA[2],\n limeA[2],\n grassA[2],\n skyA[2],\n cyanA[2],\n indigoA[2],\n plumA[2],\n ],\n mixed: [\n blueA[2],\n crimsonA[2],\n tealA[2],\n orangeA[2],\n purpleA[2],\n amberA[2],\n slateA[2],\n cyanA[2],\n redA[2],\n grassA[2],\n brownA[2],\n indigoA[2],\n plumA[2],\n yellowA[2],\n skyA[2],\n limeA[2],\n ],\n};\n"],"names":["MAIN_COLOR","ColorStyle","black","white","slate","olive","sand","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","bronze","gold","sky","mint","lime","yellow","amber","orange","DarkColorStyle","blackDark","whiteDark","slateDark","oliveDark","sandDark","tomatoDark","redDark","rubyDark","crimsonDark","pinkDark","plumDark","purpleDark","violetDark","irisDark","indigoDark","blueDark","cyanDark","tealDark","jadeDark","greenDark","grassDark","brownDark","bronzeDark","goldDark","skyDark","mintDark","limeDark","yellowDark","amberDark","orangeDark","chartColorList","sorting","mixed","chartAlphaColorList","crimsonA","orangeA","amberA","tealA","blueA","purpleA","slateA","redA","brownA","yellowA","limeA","grassA","skyA","cyanA","indigoA","plumA"],"mappings":"4ZAEU,IAACA,EAAa,
|
1
|
+
{"version":3,"file":"constants.mjs","sources":["../../lib/color/constants.js"],"sourcesContent":["import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';\nimport { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';\nexport var MAIN_COLOR = 'red';\nexport var colorOptions = [\n // 'black',\n 'slate',\n 'olive',\n 'sand',\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'bronze',\n 'gold',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'orange',\n // 'white',\n];\nexport var alphaColorOptions = [\n 'slateA',\n 'oliveA',\n 'sandA',\n 'tomatoA',\n 'redA',\n 'rubyA',\n 'crimsonA',\n 'pinkA',\n 'plumA',\n 'purpleA',\n 'violetA',\n 'irisA',\n 'indigoA',\n 'blueA',\n 'cyanA',\n 'tealA',\n 'jadeA',\n 'greenA',\n 'grassA',\n 'brownA',\n 'bronzeA',\n 'goldA',\n 'skyA',\n 'mintA',\n 'limeA',\n 'yellowA',\n 'amberA',\n 'orangeA',\n];\nexport var darkColorOptions = [\n 'blackDark',\n 'slateDark',\n 'oliveDark',\n 'sandDark',\n 'tomatoDark',\n 'redDark',\n 'rubyDark',\n 'crimsonDark',\n 'pinkDark',\n 'plumDark',\n 'purpleDark',\n 'violetDark',\n 'irisDark',\n 'indigoDark',\n 'blueDark',\n 'cyanDark',\n 'tealDark',\n 'jadeDark',\n 'greenDark',\n 'grassDark',\n 'brownDark',\n 'bronzeDark',\n 'goldDark',\n 'skyDark',\n 'mintDark',\n 'limeDark',\n 'yellowDark',\n 'amberDark',\n 'orangeDark',\n 'slateDarkA',\n 'oliveDarkA',\n 'sandDarkA',\n 'tomatoDarkA',\n 'redDarkA',\n 'rubyDarkA',\n 'crimsonDarkA',\n 'pinkDarkA',\n 'plumDarkA',\n 'purpleDarkA',\n 'violetDarkA',\n 'irisDarkA',\n 'indigoDarkA',\n 'blueDarkA',\n 'cyanDarkA',\n 'tealDarkA',\n 'jadeDarkA',\n 'greenDarkA',\n 'grassDarkA',\n 'brownDarkA',\n 'bronzeDarkA',\n 'goldDarkA',\n 'skyDarkA',\n 'mintDarkA',\n 'limeDarkA',\n 'yellowDarkA',\n 'amberDarkA',\n 'orangeDarkA',\n 'whiteDark',\n];\nexport var ColorStyle = {\n black: 'slate-12',\n white: 'white',\n slate: 'slate-9',\n olive: 'olive-9',\n sand: 'sand-9',\n tomato: 'tomato-9',\n red: 'red-9',\n ruby: 'ruby-9',\n crimson: 'crimson-9',\n pink: 'pink-9',\n plum: 'plum-9',\n purple: 'purple-9',\n violet: 'violet-9',\n iris: 'iris-9',\n indigo: 'indigo-9',\n blue: 'blue-9',\n cyan: 'cyan-9',\n teal: 'teal-9',\n jade: 'jade-9',\n green: 'green-9',\n grass: 'grass-9',\n brown: 'brown-9',\n bronze: 'bronze-9',\n gold: 'gold-9',\n sky: 'sky-9',\n mint: 'mint-9',\n lime: 'lime-9',\n yellow: 'yellow-9',\n amber: 'amber-9',\n orange: 'orange-9',\n};\nexport var DarkColorStyle = {\n blackDark: 'slateDark-12',\n whiteDark: 'slateDark-1',\n slateDark: 'slateDark-9',\n oliveDark: 'oliveDark-9',\n sandDark: 'sandDark-9',\n tomatoDark: 'tomatoDark-9',\n redDark: 'redDark-9',\n rubyDark: 'rubyDark-9',\n crimsonDark: 'crimsonDark-9',\n pinkDark: 'pinkDark-9',\n plumDark: 'plumDark-9',\n purpleDark: 'purpleDark-9',\n violetDark: 'violetDark-9',\n irisDark: 'irisDark-9',\n indigoDark: 'indigoDark-9',\n blueDark: 'blueDark-9',\n cyanDark: 'cyanDark-9',\n tealDark: 'tealDark-9',\n jadeDark: 'jadeDark-9',\n greenDark: 'greenDark-9',\n grassDark: 'grassDark-9',\n brownDark: 'brownDark-9',\n bronzeDark: 'bronzeDark-9',\n goldDark: 'goldDark-9',\n skyDark: 'skyDark-9',\n mintDark: 'mintDark-9',\n limeDark: 'limeDark-9',\n yellowDark: 'yellowDark-9',\n amberDark: 'amberDark-9',\n orangeDark: 'orangeDark-9',\n};\nexport var chartColorList = {\n sorting: [\n crimson[9],\n orange[9],\n amber[9],\n teal[9],\n blue[9],\n purple[9],\n slate[9],\n red[9],\n brown[9],\n yellow[9],\n lime[9],\n grass[9],\n sky[9],\n cyan[9],\n indigo[9],\n plum[9],\n ],\n mixed: [\n blue[9],\n crimson[9],\n teal[9],\n orange[9],\n purple[9],\n amber[9],\n slate[9],\n cyan[9],\n red[9],\n grass[9],\n brown[9],\n indigo[9],\n plum[9],\n yellow[9],\n sky[9],\n lime[9],\n ],\n};\nexport var chartAlphaColorList = {\n sorting: [\n crimsonA[2],\n orangeA[2],\n amberA[2],\n tealA[2],\n blueA[2],\n purpleA[2],\n slateA[2],\n redA[2],\n brownA[2],\n yellowA[2],\n limeA[2],\n grassA[2],\n skyA[2],\n cyanA[2],\n indigoA[2],\n plumA[2],\n ],\n mixed: [\n blueA[2],\n crimsonA[2],\n tealA[2],\n orangeA[2],\n purpleA[2],\n amberA[2],\n slateA[2],\n cyanA[2],\n redA[2],\n grassA[2],\n brownA[2],\n indigoA[2],\n plumA[2],\n yellowA[2],\n skyA[2],\n limeA[2],\n ],\n};\n"],"names":["MAIN_COLOR","colorOptions","alphaColorOptions","darkColorOptions","ColorStyle","black","white","slate","olive","sand","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","bronze","gold","sky","mint","lime","yellow","amber","orange","DarkColorStyle","blackDark","whiteDark","slateDark","oliveDark","sandDark","tomatoDark","redDark","rubyDark","crimsonDark","pinkDark","plumDark","purpleDark","violetDark","irisDark","indigoDark","blueDark","cyanDark","tealDark","jadeDark","greenDark","grassDark","brownDark","bronzeDark","goldDark","skyDark","mintDark","limeDark","yellowDark","amberDark","orangeDark","chartColorList","sorting","mixed","chartAlphaColorList","crimsonA","orangeA","amberA","tealA","blueA","purpleA","slateA","redA","brownA","yellowA","limeA","grassA","skyA","cyanA","indigoA","plumA"],"mappings":"4ZAEU,IAACA,EAAa,MACbC,EAAe,CAEtB,QACA,QACA,OACA,SACA,MACA,OACA,UACA,OACA,OACA,SACA,SACA,OACA,SACA,OACA,OACA,OACA,OACA,QACA,QACA,QACA,SACA,OACA,MACA,OACA,OACA,SACA,QACA,UAGOC,EAAoB,CAC3B,SACA,SACA,QACA,UACA,OACA,QACA,WACA,QACA,QACA,UACA,UACA,QACA,UACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,UACA,QACA,OACA,QACA,QACA,UACA,SACA,WAEOC,EAAmB,CAC1B,YACA,YACA,YACA,WACA,aACA,UACA,WACA,cACA,WACA,WACA,aACA,aACA,WACA,aACA,WACA,WACA,WACA,WACA,YACA,YACA,YACA,aACA,WACA,UACA,WACA,WACA,aACA,YACA,aACA,aACA,aACA,YACA,cACA,WACA,YACA,eACA,YACA,YACA,cACA,cACA,YACA,cACA,YACA,YACA,YACA,YACA,aACA,aACA,aACA,cACA,YACA,WACA,YACA,YACA,cACA,aACA,cACA,aAEOC,EAAa,CACpBC,MAAO,WACPC,MAAO,QACPC,MAAO,UACPC,MAAO,UACPC,KAAM,SACNC,OAAQ,WACRC,IAAK,QACLC,KAAM,SACNC,QAAS,YACTC,KAAM,SACNC,KAAM,SACNC,OAAQ,WACRC,OAAQ,WACRC,KAAM,SACNC,OAAQ,WACRC,KAAM,SACNC,KAAM,SACNC,KAAM,SACNC,KAAM,SACNC,MAAO,UACPC,MAAO,UACPC,MAAO,UACPC,OAAQ,WACRC,KAAM,SACNC,IAAK,QACLC,KAAM,SACNC,KAAM,SACNC,OAAQ,WACRC,MAAO,UACPC,OAAQ,YAEDC,EAAiB,CACxBC,UAAW,eACXC,UAAW,cACXC,UAAW,cACXC,UAAW,cACXC,SAAU,aACVC,WAAY,eACZC,QAAS,YACTC,SAAU,aACVC,YAAa,gBACbC,SAAU,aACVC,SAAU,aACVC,WAAY,eACZC,WAAY,eACZC,SAAU,aACVC,WAAY,eACZC,SAAU,aACVC,SAAU,aACVC,SAAU,aACVC,SAAU,aACVC,UAAW,cACXC,UAAW,cACXC,UAAW,cACXC,WAAY,eACZC,SAAU,aACVC,QAAS,YACTC,SAAU,aACVC,SAAU,aACVC,WAAY,eACZC,UAAW,cACXC,WAAY,gBAELC,EAAiB,CACxBC,QAAS,CACLtD,EAAQ,GACRqB,EAAO,GACPD,EAAM,GACNX,EAAK,GACLF,EAAK,GACLJ,EAAO,GACPT,EAAM,GACNI,EAAI,GACJe,EAAM,GACNM,EAAO,GACPD,EAAK,GACLN,EAAM,GACNI,EAAI,GACJR,EAAK,GACLF,EAAO,GACPJ,EAAK,IAETqD,MAAO,CACHhD,EAAK,GACLP,EAAQ,GACRS,EAAK,GACLY,EAAO,GACPlB,EAAO,GACPiB,EAAM,GACN1B,EAAM,GACNc,EAAK,GACLV,EAAI,GACJc,EAAM,GACNC,EAAM,GACNP,EAAO,GACPJ,EAAK,GACLiB,EAAO,GACPH,EAAI,GACJE,EAAK,KAGFsC,EAAsB,CAC7BF,QAAS,CACLG,EAAS,GACTC,EAAQ,GACRC,EAAO,GACPC,EAAM,GACNC,EAAM,GACNC,EAAQ,GACRC,EAAO,GACPC,EAAK,GACLC,EAAO,GACPC,EAAQ,GACRC,EAAM,GACNC,EAAO,GACPC,EAAK,GACLC,EAAM,GACNC,EAAQ,GACRC,EAAM,IAEVjB,MAAO,CACHM,EAAM,GACNJ,EAAS,GACTG,EAAM,GACNF,EAAQ,GACRI,EAAQ,GACRH,EAAO,GACPI,EAAO,GACPO,EAAM,GACNN,EAAK,GACLI,EAAO,GACPH,EAAO,GACPM,EAAQ,GACRC,EAAM,GACNN,EAAQ,GACRG,EAAK,GACLF,EAAM"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var f={1:"#1E1E1E",2:"#2A2A2A",3:"#363636",4:"#414142",5:"#595959",6:"#717171",7:"#888888",8:"#A0A0A0",9:"#B8B8B8",10:"#D0D0D0",11:"#E7E7E7",12:"#F3F3F3"},e={1:"#111210",2:"#181917",3:"#212220",4:"#282a27",5:"#2f312e",6:"#383a36",7:"#454843",8:"#5c625b",9:"#687066",10:"#767d74",11:"#afb5ad",12:"#eceeec"},d={1:"#111110",2:"#191918",3:"#222221",4:"#2a2a28",5:"#31312e",6:"#3b3a37",7:"#494844",8:"#62605b",9:"#6f6d66",10:"#7c7b74",11:"#b5b3ad",12:"#eeeeec"},b={1:"#181111",2:"#1f1513",3:"#391714",4:"#4e1511",5:"#5e1c16",6:"#6e2920",7:"#853a2d",8:"#ac4d39",9:"#e54d2e",10:"#ec6142",11:"#ff977d",12:"#fbd3cb"},a={1:"#191111",2:"#201314",3:"#3b1219",4:"#500f1c",5:"#611623",6:"#72232d",7:"#8c333a",8:"#b54548",9:"#da291c",10:"#ec5d5e",11:"#ff9592",12:"#ffd1d9"},c={1:"#191113",2:"#1e1517",3:"#3a141e",4:"#4e1325",5:"#5e1a2e",6:"#6f2539",7:"#883447",8:"#b3445a",9:"#e54666",10:"#ec5a72",11:"#ff949d",12:"#fed2e1"},A={1:"#191114",2:"#201318",3:"#381525",4:"#4d122f",5:"#5c1839",6:"#6d2545",7:"#873356",8:"#b0436e",9:"#e93d82",10:"#ee518a",11:"#ff92ad",12:"#fdd3e8"},E={1:"#191117",2:"#21121d",3:"#37172f",4:"#4b143d",5:"#591c47",6:"#692955",7:"#833869",8:"#a84885",9:"#d6409f",10:"#de51a8",11:"#ff8dcc",12:"#fdd1ea"},B={1:"#181118",2:"#201320",3:"#351a35",4:"#451d47",5:"#512454",6:"#5e3061",7:"#734079",8:"#92549c",9:"#ab4aba",10:"#b658c4",11:"#e796f3",12:"#f4d4f4"},C={1:"#18111b",2:"#1e1523",3:"#301c3b",4:"#3d224e",5:"#48295c",6:"#54346b",7:"#664282",8:"#8457aa",9:"#8e4ec6",10:"#9a5cd0",11:"#d19dff",12:"#ecd9fa"},D={1:"#14121f",2:"#1b1525",3:"#291f43",4:"#33255b",5:"#3c2e69",6:"#473876",7:"#56468b",8:"#6958ad",9:"#6e56cf",10:"#7d66d9",11:"#baa7ff",12:"#e2ddfe"},F={1:"#13131e",2:"#171625",3:"#202248",4:"#262a65",5:"#303374",6:"#3d3e82",7:"#4a4a95",8:"#5958b1",9:"#5b5bd6",10:"#6e6ade",11:"#b1a9ff",12:"#e0dffe"},r={1:"#11131f",2:"#141726",3:"#182449",4:"#1d2e62",5:"#253974",6:"#304384",7:"#3a4f97",8:"#435db1",9:"#5075F5",10:"#6585F6",11:"#9eb1ff",12:"#d6e1ff"},o={1:"#0d1520",2:"#111927",3:"#0d2847",4:"#003362",5:"#004074",6:"#104d87",7:"#205d9e",8:"#2870bd",9:"#408CDD",10:"#569AE1",11:"#70b8ff",12:"#c2e6ff"},p={1:"#0b161a",2:"#101b20",3:"#082c36",4:"#003848",5:"#004558",6:"#045468",7:"#12677e",8:"#11809c",9:"#1495B3",10:"#17ACCE",11:"#4ccce6",12:"#b6ecf7"},t={1:"#0d1514",2:"#111c1b",3:"#0d2d2a",4:"#023b37",5:"#084843",6:"#145750",7:"#1c6961",8:"#207e73",9:"#389494",10:"#43B1B1",11:"#0bd8b6",12:"#adf0dd"},v={1:"#0d1512",2:"#121c18",3:"#0f2e22",4:"#0b3b2c",5:"#114837",6:"#1b5745",7:"#246854",8:"#2a7e68",9:"#2E9E81",10:"#37BE9A",11:"#1fd8a4",12:"#adf0d4"},x={1:"#0e1512",2:"#121b17",3:"#132d21",4:"#113b29",5:"#174933",6:"#20573e",7:"#28684a",8:"#2f7c57",9:"#30a46c",10:"#33b074",11:"#3dd68c",12:"#b1f1cb"},g={1:"#0e1511",2:"#141a15",3:"#1b2a1e",4:"#1d3a24",5:"#25482d",6:"#2d5736",7:"#366740",8:"#3e7949",9:"#339968",10:"#39AC75",11:"#71d083",12:"#c2f0c2"},h={1:"#12110f",2:"#1c1816",3:"#28211d",4:"#322922",5:"#3e3128",6:"#4d3c2f",7:"#614a39",8:"#7c5f46",9:"#B37439",10:"#C98D55",11:"#dbb594",12:"#f2e1ca"},i={1:"#141110",2:"#1c1917",3:"#262220",4:"#302a27",5:"#3b3330",6:"#493e3a",7:"#5a4c47",8:"#6f5f58",9:"#93786C",10:"#A99389",11:"#d4b3a5",12:"#ede0d9"},j={1:"#121211",2:"#1b1a17",3:"#24231f",4:"#2d2b26",5:"#38352e",6:"#444039",7:"#544f46",8:"#696256",9:"#978365",10:"#AB9B82",11:"#cbb99f",12:"#e8e2d9"},k={1:"#0d141f",2:"#111a27",3:"#112840",4:"#113555",5:"#154467",6:"#1b537b",7:"#1f6692",8:"#197cae",9:"#85CDE0",10:"#99D5E5",11:"#75c7f0",12:"#c2f3ff"},l={1:"#0e1515",2:"#0f1b1b",3:"#092c2b",4:"#003a38",5:"#004744",6:"#105650",7:"#1e685f",8:"#277f70",9:"#70C2B0",10:"#82C9BA",11:"#58d5ba",12:"#c4f5e1"},m={1:"#11130c",2:"#151a10",3:"#1f2917",4:"#29371d",5:"#334423",6:"#3d522a",7:"#496231",8:"#577538",9:"#bdee63",10:"#A6DB57",11:"#bde56c",12:"#e3f7ba"},n={1:"#14120b",2:"#1b180f",3:"#2d2305",4:"#362b00",5:"#433500",6:"#524202",7:"#665417",8:"#836a21",9:"#E5C31A",10:"#EACF48",11:"#f5e147",12:"#f6eeb4"},q={1:"#16120c",2:"#1d180f",3:"#302008",4:"#3f2700",5:"#4d3000",6:"#5c3d05",7:"#714f19",8:"#8f6424",9:"#E7AF22",10:"#ECC050",11:"#ffca16",12:"#ffe7b3"},s={1:"#17120e",2:"#1e160f",3:"#331e0b",4:"#462100",5:"#562800",6:"#66350c",7:"#7e451d",8:"#a35829",9:"#F07342",10:"#F49671",11:"#ffa057",12:"#ffe0c2"};export{q as amberDark,o as blueDark,i as bronzeDark,h as brownDark,A as crimsonDark,p as cyanDark,j as goldDark,g as grassDark,x as greenDark,r as indigoDark,F as irisDark,v as jadeDark,m as limeDark,l as mintDark,e as oliveDark,s as orangeDark,E as pinkDark,B as plumDark,C as purpleDark,a as redDark,c as rubyDark,d as sandDark,k as skyDark,f as slateDark,t as tealDark,b as tomatoDark,D as violetDark,n as yellowDark};
|
2
|
+
//# sourceMappingURL=dark.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dark.mjs","sources":["../../lib/color/dark.js"],"sourcesContent":["export var slateDark = {\n 1: '#1E1E1E',\n 2: '#2A2A2A',\n 3: '#363636',\n 4: '#414142',\n 5: '#595959',\n 6: '#717171',\n 7: '#888888',\n 8: '#A0A0A0',\n 9: '#B8B8B8',\n 10: '#D0D0D0',\n 11: '#E7E7E7',\n 12: '#F3F3F3',\n};\nexport var oliveDark = {\n 1: '#111210',\n 2: '#181917',\n 3: '#212220',\n 4: '#282a27',\n 5: '#2f312e',\n 6: '#383a36',\n 7: '#454843',\n 8: '#5c625b',\n 9: '#687066',\n 10: '#767d74',\n 11: '#afb5ad',\n 12: '#eceeec',\n};\nexport var sandDark = {\n 1: '#111110',\n 2: '#191918',\n 3: '#222221',\n 4: '#2a2a28',\n 5: '#31312e',\n 6: '#3b3a37',\n 7: '#494844',\n 8: '#62605b',\n 9: '#6f6d66',\n 10: '#7c7b74',\n 11: '#b5b3ad',\n 12: '#eeeeec',\n};\nexport var tomatoDark = {\n 1: '#181111',\n 2: '#1f1513',\n 3: '#391714',\n 4: '#4e1511',\n 5: '#5e1c16',\n 6: '#6e2920',\n 7: '#853a2d',\n 8: '#ac4d39',\n 9: '#e54d2e',\n 10: '#ec6142',\n 11: '#ff977d',\n 12: '#fbd3cb',\n};\nexport var redDark = {\n 1: '#191111',\n 2: '#201314',\n 3: '#3b1219',\n 4: '#500f1c',\n 5: '#611623',\n 6: '#72232d',\n 7: '#8c333a',\n 8: '#b54548',\n 9: '#da291c',\n 10: '#ec5d5e',\n 11: '#ff9592',\n 12: '#ffd1d9',\n};\nexport var rubyDark = {\n 1: '#191113',\n 2: '#1e1517',\n 3: '#3a141e',\n 4: '#4e1325',\n 5: '#5e1a2e',\n 6: '#6f2539',\n 7: '#883447',\n 8: '#b3445a',\n 9: '#e54666',\n 10: '#ec5a72',\n 11: '#ff949d',\n 12: '#fed2e1',\n};\nexport var crimsonDark = {\n 1: '#191114',\n 2: '#201318',\n 3: '#381525',\n 4: '#4d122f',\n 5: '#5c1839',\n 6: '#6d2545',\n 7: '#873356',\n 8: '#b0436e',\n 9: '#e93d82',\n 10: '#ee518a',\n 11: '#ff92ad',\n 12: '#fdd3e8',\n};\nexport var pinkDark = {\n 1: '#191117',\n 2: '#21121d',\n 3: '#37172f',\n 4: '#4b143d',\n 5: '#591c47',\n 6: '#692955',\n 7: '#833869',\n 8: '#a84885',\n 9: '#d6409f',\n 10: '#de51a8',\n 11: '#ff8dcc',\n 12: '#fdd1ea',\n};\nexport var plumDark = {\n 1: '#181118',\n 2: '#201320',\n 3: '#351a35',\n 4: '#451d47',\n 5: '#512454',\n 6: '#5e3061',\n 7: '#734079',\n 8: '#92549c',\n 9: '#ab4aba',\n 10: '#b658c4',\n 11: '#e796f3',\n 12: '#f4d4f4',\n};\nexport var purpleDark = {\n 1: '#18111b',\n 2: '#1e1523',\n 3: '#301c3b',\n 4: '#3d224e',\n 5: '#48295c',\n 6: '#54346b',\n 7: '#664282',\n 8: '#8457aa',\n 9: '#8e4ec6',\n 10: '#9a5cd0',\n 11: '#d19dff',\n 12: '#ecd9fa',\n};\nexport var violetDark = {\n 1: '#14121f',\n 2: '#1b1525',\n 3: '#291f43',\n 4: '#33255b',\n 5: '#3c2e69',\n 6: '#473876',\n 7: '#56468b',\n 8: '#6958ad',\n 9: '#6e56cf',\n 10: '#7d66d9',\n 11: '#baa7ff',\n 12: '#e2ddfe',\n};\nexport var irisDark = {\n 1: '#13131e',\n 2: '#171625',\n 3: '#202248',\n 4: '#262a65',\n 5: '#303374',\n 6: '#3d3e82',\n 7: '#4a4a95',\n 8: '#5958b1',\n 9: '#5b5bd6',\n 10: '#6e6ade',\n 11: '#b1a9ff',\n 12: '#e0dffe',\n};\nexport var indigoDark = {\n 1: '#11131f',\n 2: '#141726',\n 3: '#182449',\n 4: '#1d2e62',\n 5: '#253974',\n 6: '#304384',\n 7: '#3a4f97',\n 8: '#435db1',\n 9: '#5075F5',\n 10: '#6585F6',\n 11: '#9eb1ff',\n 12: '#d6e1ff',\n};\nexport var blueDark = {\n 1: '#0d1520',\n 2: '#111927',\n 3: '#0d2847',\n 4: '#003362',\n 5: '#004074',\n 6: '#104d87',\n 7: '#205d9e',\n 8: '#2870bd',\n 9: '#408CDD',\n 10: '#569AE1',\n 11: '#70b8ff',\n 12: '#c2e6ff',\n};\nexport var cyanDark = {\n 1: '#0b161a',\n 2: '#101b20',\n 3: '#082c36',\n 4: '#003848',\n 5: '#004558',\n 6: '#045468',\n 7: '#12677e',\n 8: '#11809c',\n 9: '#1495B3',\n 10: '#17ACCE',\n 11: '#4ccce6',\n 12: '#b6ecf7',\n};\nexport var tealDark = {\n 1: '#0d1514',\n 2: '#111c1b',\n 3: '#0d2d2a',\n 4: '#023b37',\n 5: '#084843',\n 6: '#145750',\n 7: '#1c6961',\n 8: '#207e73',\n 9: '#389494',\n 10: '#43B1B1',\n 11: '#0bd8b6',\n 12: '#adf0dd',\n};\nexport var jadeDark = {\n 1: '#0d1512',\n 2: '#121c18',\n 3: '#0f2e22',\n 4: '#0b3b2c',\n 5: '#114837',\n 6: '#1b5745',\n 7: '#246854',\n 8: '#2a7e68',\n 9: '#2E9E81',\n 10: '#37BE9A',\n 11: '#1fd8a4',\n 12: '#adf0d4',\n};\nexport var greenDark = {\n 1: '#0e1512',\n 2: '#121b17',\n 3: '#132d21',\n 4: '#113b29',\n 5: '#174933',\n 6: '#20573e',\n 7: '#28684a',\n 8: '#2f7c57',\n 9: '#30a46c',\n 10: '#33b074',\n 11: '#3dd68c',\n 12: '#b1f1cb',\n};\nexport var grassDark = {\n 1: '#0e1511',\n 2: '#141a15',\n 3: '#1b2a1e',\n 4: '#1d3a24',\n 5: '#25482d',\n 6: '#2d5736',\n 7: '#366740',\n 8: '#3e7949',\n 9: '#339968',\n 10: '#39AC75',\n 11: '#71d083',\n 12: '#c2f0c2',\n};\nexport var brownDark = {\n 1: '#12110f',\n 2: '#1c1816',\n 3: '#28211d',\n 4: '#322922',\n 5: '#3e3128',\n 6: '#4d3c2f',\n 7: '#614a39',\n 8: '#7c5f46',\n 9: '#B37439',\n 10: '#C98D55',\n 11: '#dbb594',\n 12: '#f2e1ca',\n};\nexport var bronzeDark = {\n 1: '#141110',\n 2: '#1c1917',\n 3: '#262220',\n 4: '#302a27',\n 5: '#3b3330',\n 6: '#493e3a',\n 7: '#5a4c47',\n 8: '#6f5f58',\n 9: '#93786C',\n 10: '#A99389',\n 11: '#d4b3a5',\n 12: '#ede0d9',\n};\nexport var goldDark = {\n 1: '#121211',\n 2: '#1b1a17',\n 3: '#24231f',\n 4: '#2d2b26',\n 5: '#38352e',\n 6: '#444039',\n 7: '#544f46',\n 8: '#696256',\n 9: '#978365',\n 10: '#AB9B82',\n 11: '#cbb99f',\n 12: '#e8e2d9',\n};\nexport var skyDark = {\n 1: '#0d141f',\n 2: '#111a27',\n 3: '#112840',\n 4: '#113555',\n 5: '#154467',\n 6: '#1b537b',\n 7: '#1f6692',\n 8: '#197cae',\n 9: '#85CDE0',\n 10: '#99D5E5',\n 11: '#75c7f0',\n 12: '#c2f3ff',\n};\nexport var mintDark = {\n 1: '#0e1515',\n 2: '#0f1b1b',\n 3: '#092c2b',\n 4: '#003a38',\n 5: '#004744',\n 6: '#105650',\n 7: '#1e685f',\n 8: '#277f70',\n 9: '#70C2B0',\n 10: '#82C9BA',\n 11: '#58d5ba',\n 12: '#c4f5e1',\n};\nexport var limeDark = {\n 1: '#11130c',\n 2: '#151a10',\n 3: '#1f2917',\n 4: '#29371d',\n 5: '#334423',\n 6: '#3d522a',\n 7: '#496231',\n 8: '#577538',\n 9: '#bdee63',\n 10: '#A6DB57',\n 11: '#bde56c',\n 12: '#e3f7ba',\n};\nexport var yellowDark = {\n 1: '#14120b',\n 2: '#1b180f',\n 3: '#2d2305',\n 4: '#362b00',\n 5: '#433500',\n 6: '#524202',\n 7: '#665417',\n 8: '#836a21',\n 9: '#E5C31A',\n 10: '#EACF48',\n 11: '#f5e147',\n 12: '#f6eeb4',\n};\nexport var amberDark = {\n 1: '#16120c',\n 2: '#1d180f',\n 3: '#302008',\n 4: '#3f2700',\n 5: '#4d3000',\n 6: '#5c3d05',\n 7: '#714f19',\n 8: '#8f6424',\n 9: '#E7AF22',\n 10: '#ECC050',\n 11: '#ffca16',\n 12: '#ffe7b3',\n};\nexport var orangeDark = {\n 1: '#17120e',\n 2: '#1e160f',\n 3: '#331e0b',\n 4: '#462100',\n 5: '#562800',\n 6: '#66350c',\n 7: '#7e451d',\n 8: '#a35829',\n 9: '#F07342',\n 10: '#F49671',\n 11: '#ffa057',\n 12: '#ffe0c2',\n};\n"],"names":["slateDark","oliveDark","sandDark","tomatoDark","redDark","rubyDark","crimsonDark","pinkDark","plumDark","purpleDark","violetDark","irisDark","indigoDark","blueDark","cyanDark","tealDark","jadeDark","greenDark","grassDark","brownDark","bronzeDark","goldDark","skyDark","mintDark","limeDark","yellowDark","amberDark","orangeDark"],"mappings":"AAAU,IAACA,EAAY,CACnB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAY,CACnB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAW,CAClB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAa,CACpB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAU,CACjB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAW,CAClB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAc,CACrB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,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AAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAW,CAClB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAa,CACpB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAY,CACnB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAa,CACpB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var F={navy:{5:"#F1F1F9",10:"#D3D5ED",20:"#A7ABDA",30:"#7B82C8",40:"#4F58B5",50:"#232EA3",60:"#1C2582",70:"#151C62",80:"#0E1241",90:"#070921"},blue:{5:"#F0F3FF",10:"#D2DCFE",20:"#A4B8FE",30:"#7795FD",40:"#4971FD",50:"#1C4EFC",60:"#163ECA",70:"#112F97",80:"#0B1F65",90:"#061032"},royalBlue:{5:"#EBF5FF",10:"#C7E3FF",20:"#8FC8FF",30:"#56ACFF",40:"#1E90FF",50:"#0074E5",60:"#0056AA",70:"#00407F",80:"#002B55",90:"#00152A"},skyBlue:{5:"#F0FBFF",10:"#D4F3FE",20:"#A9E6FC",30:"#7DDAFB",40:"#52CDF9",50:"#27C1F8",60:"#1F9AC6",70:"#177495",80:"#104D63",90:"#082732"},aqua:{5:"#E7FDFD",10:"#CEFBFB",20:"#9DF6F6",30:"#6DF2F2",40:"#3BEDED",50:"#15DFDF",60:"#03C4C4",70:"#078C8C",80:"#045D5D",90:"#022F2F"},teal:{5:"#EDF8F8",10:"#CEEBEB",20:"#9DD7D7",30:"#6DC3C3",40:"#3CAFAF",50:"#0B9B9B",60:"#097C7C",70:"#075D5D",80:"#043E3E",90:"#021F1F"},green:{5:"#EEF7EE",10:"#CCE6CC",20:"#99CC99",30:"#66B366",40:"#339933",50:"#008000",60:"#006600",70:"#004D00",80:"#003300",90:"#001A00"},limeGreen:{5:"#F3FCF3",10:"#D6F5D6",20:"#ADEBAD",30:"#84E184",40:"#5BD75B",50:"#32CD32",60:"#1FAD1F",70:"#1E7B1E",80:"#145214",90:"#0A290A"},lime:{5:"#F7FFEA",10:"#EEFED6",20:"#DEFFAB",30:"#CEFE83",40:"#BCF95D",50:"#A1F524",60:"#8EDD13",70:"#699B1C",80:"#476912",90:"#253709"},olive:{5:"#F8F8ED",10:"#EBEBCC",20:"#D6D699",30:"#C2C266",40:"#ADAD33",50:"#999900",60:"#7A7A00",70:"#5C5C00",80:"#3D3D00",90:"#1F1F00"},yellow:{5:"#FFFBE5",10:"#FFF6CC",20:"#FFEE99",30:"#FFE566",40:"#FFDD33",50:"#FFD400",60:"#D6AB00",70:"#A38500",80:"#6B5700",90:"#332A00"},gold:{5:"#FDF7E9",10:"#FAEFD3",20:"#F5DFA7",30:"#F1CF7A",40:"#ECBF4E",50:"#E7AF22",60:"#B98C1B",70:"#8B6914",80:"#5C460E",90:"#2E2307"},saddleBrown:{5:"#F8F2ED",10:"#ECDCCD",20:"#D9B99C",30:"#C6976A",40:"#B37439",50:"#A05107",60:"#804106",70:"#603104",80:"#402003",90:"#201001"},brown:{5:"#F9F2F0",10:"#EED8D3",20:"#DCB0A7",30:"#CB897C",40:"#B96150",50:"#A83A24",60:"#862E1D",70:"#652316",80:"#43170E",90:"#220C07"},darkRed:{5:"#FAEFF0",10:"#F1CECF",20:"#E39D9F",30:"#D56B70",40:"#C73A40",50:"#B90910",60:"#94070D",70:"#6F050A",80:"#4A0406",90:"#250203"},red:{5:"#FEF1F1",10:"#FCCCCC",20:"#F89999",30:"#F56666",40:"#F23B3B",50:"#EE0000",60:"#CD0404",70:"#8F0000",80:"#5F0000",90:"#300000"},orange:{5:"#FFF4F0",10:"#FFDACC",20:"#FFB599",30:"#FF8F66",40:"#FF6A33",50:"#FF4500",60:"#D53209",70:"#992900",80:"#661C00",90:"#330E00"},coral:{5:"#FFF8F5",10:"#FFE6DC",20:"#FFCCBA",30:"#FEB397",40:"#FE9975",50:"#FE8052",60:"#D36942",70:"#A85131",80:"#7E3A21",90:"#532210"},salmon:{5:"#FFF1F0",10:"#FFE3E0",20:"#FFC8C1",30:"#FEACA3",40:"#FE9184",50:"#FE7565",60:"#D75F51",70:"#B0493D",80:"#893228",90:"#621C14"},hotPink:{5:"#FFF5FC",10:"#FFE3F5",20:"#FFC6EC",30:"#FFAAE2",40:"#FF8DD9",50:"#FF6FCE",60:"#D05AA8",70:"#A14482",80:"#732D5B",90:"#3D1530"},pink:{5:"#FFF0F8",10:"#FFD0E9",20:"#FFA1D4",30:"#FF72BE",40:"#FD51AD",50:"#FF1493",60:"#CC1076",70:"#990C58",80:"#66083B",90:"#33041D"},fuchsia:{5:"#FDF2FD",10:"#F9D1F9",20:"#F2A3F2",30:"#EC75EC",40:"#E547E5",50:"#DF19DF",60:"#B214B2",70:"#860F86",80:"#590A59",90:"#2D052D"},purple:{5:"#F5EEF7",10:"#E1CCE6",20:"#C499CC",30:"#A666B3",40:"#893399",50:"#6B0080",60:"#560066",70:"#40004D",80:"#2B0033",90:"#15001A"},blueViolet:{5:"#F4EFFA",10:"#DED1F1",20:"#BDA2E3",30:"#9B74D4",40:"#7A45C6",50:"#5917B8",60:"#471293",70:"#350E6E",80:"#24094A",90:"#120525"},gray:{5:"#F8F8F8",10:"#F0F0F0",20:"#E4E4E4",30:"#D8D8D8",40:"#C6C6C6",50:"#8E8E8E",60:"#717171",70:"#555555",80:"#2D2D2D",90:"#1D1D1D"},alpha:{10:"#E5E5E5",25:"#BFBFBF",50:"#808080",75:"#404040",100:"#000000"}};export{F as colors};
|
2
|
+
//# sourceMappingURL=krdsColors.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"krdsColors.mjs","sources":["../../lib/color/krdsColors.js"],"sourcesContent":["export var colors = {\n navy: {\n '5': '#F1F1F9',\n '10': '#D3D5ED',\n '20': '#A7ABDA',\n '30': '#7B82C8',\n '40': '#4F58B5',\n '50': '#232EA3',\n '60': '#1C2582',\n '70': '#151C62',\n '80': '#0E1241',\n '90': '#070921',\n },\n blue: {\n '5': '#F0F3FF',\n '10': '#D2DCFE',\n '20': '#A4B8FE',\n '30': '#7795FD',\n '40': '#4971FD',\n '50': '#1C4EFC',\n '60': '#163ECA',\n '70': '#112F97',\n '80': '#0B1F65',\n '90': '#061032',\n },\n royalBlue: {\n '5': '#EBF5FF',\n '10': '#C7E3FF',\n '20': '#8FC8FF',\n '30': '#56ACFF',\n '40': '#1E90FF',\n '50': '#0074E5',\n '60': '#0056AA',\n '70': '#00407F',\n '80': '#002B55',\n '90': '#00152A',\n },\n skyBlue: {\n '5': '#F0FBFF',\n '10': '#D4F3FE',\n '20': '#A9E6FC',\n '30': '#7DDAFB',\n '40': '#52CDF9',\n '50': '#27C1F8',\n '60': '#1F9AC6',\n '70': '#177495',\n '80': '#104D63',\n '90': '#082732',\n },\n aqua: {\n '5': '#E7FDFD',\n '10': '#CEFBFB',\n '20': '#9DF6F6',\n '30': '#6DF2F2',\n '40': '#3BEDED',\n '50': '#15DFDF',\n '60': '#03C4C4',\n '70': '#078C8C',\n '80': '#045D5D',\n '90': '#022F2F',\n },\n teal: {\n '5': '#EDF8F8',\n '10': '#CEEBEB',\n '20': '#9DD7D7',\n '30': '#6DC3C3',\n '40': '#3CAFAF',\n '50': '#0B9B9B',\n '60': '#097C7C',\n '70': '#075D5D',\n '80': '#043E3E',\n '90': '#021F1F',\n },\n green: {\n '5': '#EEF7EE',\n '10': '#CCE6CC',\n '20': '#99CC99',\n '30': '#66B366',\n '40': '#339933',\n '50': '#008000',\n '60': '#006600',\n '70': '#004D00',\n '80': '#003300',\n '90': '#001A00',\n },\n limeGreen: {\n '5': '#F3FCF3',\n '10': '#D6F5D6',\n '20': '#ADEBAD',\n '30': '#84E184',\n '40': '#5BD75B',\n '50': '#32CD32',\n '60': '#1FAD1F',\n '70': '#1E7B1E',\n '80': '#145214',\n '90': '#0A290A',\n },\n lime: {\n '5': '#F7FFEA',\n '10': '#EEFED6',\n '20': '#DEFFAB',\n '30': '#CEFE83',\n '40': '#BCF95D',\n '50': '#A1F524',\n '60': '#8EDD13',\n '70': '#699B1C',\n '80': '#476912',\n '90': '#253709',\n },\n olive: {\n '5': '#F8F8ED',\n '10': '#EBEBCC',\n '20': '#D6D699',\n '30': '#C2C266',\n '40': '#ADAD33',\n '50': '#999900',\n '60': '#7A7A00',\n '70': '#5C5C00',\n '80': '#3D3D00',\n '90': '#1F1F00',\n },\n yellow: {\n '5': '#FFFBE5',\n '10': '#FFF6CC',\n '20': '#FFEE99',\n '30': '#FFE566',\n '40': '#FFDD33',\n '50': '#FFD400',\n '60': '#D6AB00',\n '70': '#A38500',\n '80': '#6B5700',\n '90': '#332A00',\n },\n gold: {\n '5': '#FDF7E9',\n '10': '#FAEFD3',\n '20': '#F5DFA7',\n '30': '#F1CF7A',\n '40': '#ECBF4E',\n '50': '#E7AF22',\n '60': '#B98C1B',\n '70': '#8B6914',\n '80': '#5C460E',\n '90': '#2E2307',\n },\n saddleBrown: {\n '5': '#F8F2ED',\n '10': '#ECDCCD',\n '20': '#D9B99C',\n '30': '#C6976A',\n '40': '#B37439',\n '50': '#A05107',\n '60': '#804106',\n '70': '#603104',\n '80': '#402003',\n '90': '#201001',\n },\n brown: {\n '5': '#F9F2F0',\n '10': '#EED8D3',\n '20': '#DCB0A7',\n '30': '#CB897C',\n '40': '#B96150',\n '50': '#A83A24',\n '60': '#862E1D',\n '70': '#652316',\n '80': '#43170E',\n '90': '#220C07',\n },\n darkRed: {\n '5': '#FAEFF0',\n '10': '#F1CECF',\n '20': '#E39D9F',\n '30': '#D56B70',\n '40': '#C73A40',\n '50': '#B90910',\n '60': '#94070D',\n '70': '#6F050A',\n '80': '#4A0406',\n '90': '#250203',\n },\n red: {\n '5': '#FEF1F1',\n '10': '#FCCCCC',\n '20': '#F89999',\n '30': '#F56666',\n '40': '#F23B3B',\n '50': '#EE0000',\n '60': '#CD0404',\n '70': '#8F0000',\n '80': '#5F0000',\n '90': '#300000',\n },\n orange: {\n '5': '#FFF4F0',\n '10': '#FFDACC',\n '20': '#FFB599',\n '30': '#FF8F66',\n '40': '#FF6A33',\n '50': '#FF4500',\n '60': '#D53209',\n '70': '#992900',\n '80': '#661C00',\n '90': '#330E00',\n },\n coral: {\n '5': '#FFF8F5',\n '10': '#FFE6DC',\n '20': '#FFCCBA',\n '30': '#FEB397',\n '40': '#FE9975',\n '50': '#FE8052',\n '60': '#D36942',\n '70': '#A85131',\n '80': '#7E3A21',\n '90': '#532210',\n },\n salmon: {\n '5': '#FFF1F0',\n '10': '#FFE3E0',\n '20': '#FFC8C1',\n '30': '#FEACA3',\n '40': '#FE9184',\n '50': '#FE7565',\n '60': '#D75F51',\n '70': '#B0493D',\n '80': '#893228',\n '90': '#621C14',\n },\n hotPink: {\n '5': '#FFF5FC',\n '10': '#FFE3F5',\n '20': '#FFC6EC',\n '30': '#FFAAE2',\n '40': '#FF8DD9',\n '50': '#FF6FCE',\n '60': '#D05AA8',\n '70': '#A14482',\n '80': '#732D5B',\n '90': '#3D1530',\n },\n pink: {\n '5': '#FFF0F8',\n '10': '#FFD0E9',\n '20': '#FFA1D4',\n '30': '#FF72BE',\n '40': '#FD51AD',\n '50': '#FF1493',\n '60': '#CC1076',\n '70': '#990C58',\n '80': '#66083B',\n '90': '#33041D',\n },\n fuchsia: {\n '5': '#FDF2FD',\n '10': '#F9D1F9',\n '20': '#F2A3F2',\n '30': '#EC75EC',\n '40': '#E547E5',\n '50': '#DF19DF',\n '60': '#B214B2',\n '70': '#860F86',\n '80': '#590A59',\n '90': '#2D052D',\n },\n purple: {\n '5': '#F5EEF7',\n '10': '#E1CCE6',\n '20': '#C499CC',\n '30': '#A666B3',\n '40': '#893399',\n '50': '#6B0080',\n '60': '#560066',\n '70': '#40004D',\n '80': '#2B0033',\n '90': '#15001A',\n },\n blueViolet: {\n '5': '#F4EFFA',\n '10': '#DED1F1',\n '20': '#BDA2E3',\n '30': '#9B74D4',\n '40': '#7A45C6',\n '50': '#5917B8',\n '60': '#471293',\n '70': '#350E6E',\n '80': '#24094A',\n '90': '#120525',\n },\n gray: {\n '5': '#F8F8F8',\n '10': '#F0F0F0',\n '20': '#E4E4E4',\n '30': '#D8D8D8',\n '40': '#C6C6C6',\n '50': '#8E8E8E',\n '60': '#717171',\n '70': '#555555',\n '80': '#2D2D2D',\n '90': '#1D1D1D',\n },\n alpha: {\n '10': '#E5E5E5',\n '25': '#BFBFBF',\n '50': '#808080',\n '75': '#404040',\n '100': '#000000',\n },\n};\n"],"names":["colors","navy","blue","royalBlue","skyBlue","aqua","teal","green","limeGreen","lime","olive","yellow","gold","saddleBrown","brown","darkRed","red","orange","coral","salmon","hotPink","pink","fuchsia","purple","blueViolet","gray","alpha"],"mappings":"AAAU,IAACA,EAAS,CAChBC,KAAM,CACF,EAAK,UACL,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,WAEVC,KAAM,CACF,EAAK,UACL,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,WAEVC,UAAW,CACP,EAAK,UACL,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,WAEVC,QAAS,CACL,EAAK,UACL,GAAM,UACN,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AM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,WAEVC,KAAM,CACF,EAAK,UACL,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,WAEVC,MAAO,CACH,GAAM,UACN,GAAM,UACN,GAAM,UACN,GAAM,UACN,IAAO"}
|
package/dist/lib/color/light.mjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
var f={1:"#fcfcfd",2:"#f9f9fb",3:"#f0f0f3",4:"#e8e8ec",5:"#e0e1e6",6:"#d9d9e0",7:"#cdced6",8:"#b9bbc6",9:"#8b8d98",10:"#80838d",11:"#60646c",12:"#1c2024"},e={1:"#fffcfc",2:"#fff7f7",3:"#feebec",4:"#ffdbdc",5:"#ffcdce",6:"#fdbdbe",7:"#f4a9aa",8:"#eb8e90",9:"#da291c",10:"#b52217",11:"#881a11",12:"#641723"},
|
1
|
+
var f={1:"#fcfcfd",2:"#f9f9fb",3:"#f0f0f3",4:"#e8e8ec",5:"#e0e1e6",6:"#d9d9e0",7:"#cdced6",8:"#b9bbc6",9:"#8b8d98",10:"#80838d",11:"#60646c",12:"#1c2024"},e={1:"#fcfdfc",2:"#f8faf8",3:"#eff1ef",4:"#e7e9e7",5:"#dfe2df",6:"#d7dad7",7:"#cccfcc",8:"#b9bcb8",9:"#898e87",10:"#7f847d",11:"#60655f",12:"#1d211c"},d={1:"#fdfdfc",2:"#f9f9f8",3:"#f1f0ef",4:"#e9e8e6",5:"#e2e1de",6:"#dad9d6",7:"#cfceca",8:"#bcbbb5",9:"#8d8d86",10:"#82827c",11:"#63635e",12:"#21201c"},c={1:"#fffcfc",2:"#fff8f7",3:"#feebe7",4:"#ffdcd3",5:"#ffcdc2",6:"#fdbdaf",7:"#f5a898",8:"#ec8e7b",9:"#e54d2e",10:"#dd4425",11:"#d13415",12:"#5c271f"},b={1:"#fffcfc",2:"#fff7f7",3:"#feebec",4:"#ffdbdc",5:"#ffcdce",6:"#fdbdbe",7:"#f4a9aa",8:"#eb8e90",9:"#da291c",10:"#b52217",11:"#881a11",12:"#641723"},a={1:"#fffcfd",2:"#fff7f8",3:"#feeaed",4:"#ffdce1",5:"#ffced6",6:"#f8bfc8",7:"#efacb8",8:"#e592a3",9:"#e54666",10:"#dc3b5d",11:"#ca244d",12:"#64172b"},r={1:"#fffcfd",2:"#fef7f9",3:"#ffe9f0",4:"#fedce7",5:"#facedd",6:"#f3bed1",7:"#eaacc3",8:"#e093b2",9:"#e93d82",10:"#df3478",11:"#cb1d63",12:"#621639"},o={1:"#fffcfe",2:"#fef7fb",3:"#fee9f5",4:"#fbdcef",5:"#f6cee7",6:"#efbfdd",7:"#e7acd0",8:"#dd93c2",9:"#d6409f",10:"#cf3897",11:"#c2298a",12:"#651249"},p={1:"#fefcff",2:"#fdf7fd",3:"#fbebfb",4:"#f7def8",5:"#f2d1f3",6:"#e9c2ec",7:"#deade3",8:"#cf91d8",9:"#ab4aba",10:"#a144af",11:"#953ea3",12:"#53195d"},t={1:"#fefcfe",2:"#fbf7fe",3:"#f7edfe",4:"#f2e2fc",5:"#ead5f9",6:"#e0c4f4",7:"#d1afec",8:"#be93e4",9:"#8e4ec6",10:"#8347b9",11:"#8145b5",12:"#402060"},v={1:"#fdfcfe",2:"#faf8ff",3:"#f4f0fe",4:"#ebe4ff",5:"#e1d9ff",6:"#d4cafe",7:"#c2b5f5",8:"#aa99ec",9:"#6e56cf",10:"#654dc4",11:"#6550b9",12:"#2f265f"},x={1:"#fdfdff",2:"#f8f8ff",3:"#f0f1fe",4:"#e6e7ff",5:"#dadcff",6:"#cbcdff",7:"#b8baf8",8:"#9b9ef0",9:"#5b5bd6",10:"#5151cd",11:"#5753c6",12:"#272962"},g={1:"#fdfdfe",2:"#f7f9ff",3:"#edf2fe",4:"#e1e9ff",5:"#d2deff",6:"#c1d0ff",7:"#abbdf9",8:"#8da4ef",9:"#3e63dd",10:"#3358d4",11:"#3a5bc7",12:"#1f2d5c"},h={1:"#fbfdff",2:"#f4faff",3:"#e6f4fe",4:"#d5efff",5:"#c2e5ff",6:"#acd8fc",7:"#8ec8f6",8:"#5eb1ef",9:"#0090ff",10:"#0588f0",11:"#0d74ce",12:"#113264"},i={1:"#fafdfe",2:"#f2fafb",3:"#def7f9",4:"#caf1f6",5:"#b5e9f0",6:"#9ddde7",7:"#7dcedc",8:"#3db9cf",9:"#00a2c7",10:"#0797b9",11:"#107d98",12:"#0d3c48"},j={1:"#fafefd",2:"#f3fbf9",3:"#e0f8f3",4:"#ccf3ea",5:"#b8eae0",6:"#a1ded2",7:"#83cdc1",8:"#53b9ab",9:"#12a594",10:"#0d9b8a",11:"#008573",12:"#0d3d38"},k={1:"#fbfefd",2:"#f4fbf7",3:"#e6f7ed",4:"#d6f1e3",5:"#c3e9d7",6:"#acdec8",7:"#8bceb6",8:"#56ba9f",9:"#29a383",10:"#26997b",11:"#208368",12:"#1d3b31"},l={1:"#fbfefc",2:"#f4fbf6",3:"#e6f6eb",4:"#d6f1df",5:"#c4e8d1",6:"#adddc0",7:"#8eceaa",8:"#5bb98b",9:"#30a46c",10:"#2b9a66",11:"#218358",12:"#193b2d"},m={1:"#fbfefb",2:"#f5fbf5",3:"#e9f6e9",4:"#daf1db",5:"#c9e8ca",6:"#b2ddb5",7:"#94ce9a",8:"#65ba74",9:"#46a758",10:"#3e9b4f",11:"#2a7e3b",12:"#203c25"},n={1:"#fefdfc",2:"#fcf9f6",3:"#f6eee7",4:"#f0e4d9",5:"#ebdaca",6:"#e4cdb7",7:"#dcbc9f",8:"#cea37e",9:"#ad7f58",10:"#a07553",11:"#815e46",12:"#3e332e"},q={1:"#fdfcfc",2:"#fdf7f5",3:"#f6edea",4:"#efe4df",5:"#e7d9d3",6:"#dfcdc5",7:"#d3bcb3",8:"#c2a499",9:"#a18072",10:"#957468",11:"#7d5e54",12:"#43302b"},s={1:"#fdfdfc",2:"#faf9f2",3:"#f2f0e7",4:"#eae6db",5:"#e1dccf",6:"#d8d0bf",7:"#cbc0aa",8:"#b9a88d",9:"#978365",10:"#8c7a5e",11:"#71624b",12:"#3b352b"},u={1:"#f9feff",2:"#f1fafd",3:"#e1f6fd",4:"#d1f0fa",5:"#bee7f5",6:"#a9daed",7:"#8dcae3",8:"#60b3d7",9:"#7ce2fe",10:"#74daf8",11:"#00749e",12:"#1d3e56"},w={1:"#f9fefd",2:"#f2fbf9",3:"#ddf9f2",4:"#c8f4e9",5:"#b3ecde",6:"#9ce0d0",7:"#7ecfbd",8:"#4cbba5",9:"#86ead4",10:"#7de0cb",11:"#027864",12:"#16433c"},y={1:"#fcfdfa",2:"#f8faf3",3:"#eef6d6",4:"#e2f0bd",5:"#d3e7a6",6:"#c2da91",7:"#abc978",8:"#8db654",9:"#bdee63",10:"#b0e64c",11:"#5c7c2f",12:"#37401c"},z={1:"#fdfdf9",2:"#fefce9",3:"#fffab8",4:"#fff394",5:"#ffe770",6:"#f3d768",7:"#e4c767",8:"#d5ae39",9:"#ffe629",10:"#ffdc00",11:"#9e6c00",12:"#473b1f"},A={1:"#fefdfb",2:"#fefbe9",3:"#fff7c2",4:"#ffee9c",5:"#fbe577",6:"#f3d673",7:"#e9c162",8:"#e2a336",9:"#ffc53d",10:"#ffba18",11:"#ab6400",12:"#4f3422"},B={1:"#fefcfb",2:"#fff7ed",3:"#ffefd6",4:"#ffdfb5",5:"#ffd19a",6:"#ffc182",7:"#f5ae73",8:"#ec9455",9:"#f76b15",10:"#ef5f00",11:"#cc4e00",12:"#582d1d"};export{A as amber,h as blue,q as bronze,n as brown,r as crimson,i as cyan,s as gold,m as grass,l as green,g as indigo,x as iris,k as jade,y as lime,w as mint,e as olive,B as orange,o as pink,p as plum,t as purple,b as red,a as ruby,d as sand,u as sky,f as slate,j as teal,c as tomato,v as violet,z as yellow};
|
2
2
|
//# sourceMappingURL=light.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"light.mjs","sources":["../../lib/color/light.js"],"sourcesContent":["// 기본 그레이 색상\nexport var slate = {\n 1: '#fcfcfd',\n 2: '#f9f9fb',\n 3: '#f0f0f3',\n 4: '#e8e8ec',\n 5: '#e0e1e6',\n 6: '#d9d9e0',\n 7: '#cdced6',\n 8: '#b9bbc6',\n 9: '#8b8d98',\n 10: '#80838d',\n 11: '#60646c',\n 12: '#1c2024',\n};\nexport var olive = {\n 1: '#fcfdfc',\n 2: '#f8faf8',\n 3: '#eff1ef',\n 4: '#e7e9e7',\n 5: '#dfe2df',\n 6: '#d7dad7',\n 7: '#cccfcc',\n 8: '#b9bcb8',\n 9: '#898e87',\n 10: '#7f847d',\n 11: '#60655f',\n 12: '#1d211c',\n};\nexport var sand = {\n 1: '#fdfdfc',\n 2: '#f9f9f8',\n 3: '#f1f0ef',\n 4: '#e9e8e6',\n 5: '#e2e1de',\n 6: '#dad9d6',\n 7: '#cfceca',\n 8: '#bcbbb5',\n 9: '#8d8d86',\n 10: '#82827c',\n 11: '#63635e',\n 12: '#21201c',\n};\nexport var tomato = {\n 1: '#fffcfc',\n 2: '#fff8f7',\n 3: '#feebe7',\n 4: '#ffdcd3',\n 5: '#ffcdc2',\n 6: '#fdbdaf',\n 7: '#f5a898',\n 8: '#ec8e7b',\n 9: '#e54d2e',\n 10: '#dd4425',\n 11: '#d13415',\n 12: '#5c271f',\n};\nexport var red = {\n 1: '#fffcfc',\n 2: '#fff7f7',\n 3: '#feebec',\n 4: '#ffdbdc',\n 5: '#ffcdce',\n 6: '#fdbdbe',\n 7: '#f4a9aa',\n 8: '#eb8e90',\n 9: '#da291c',\n 10: '#b52217',\n 11: '#881a11',\n 12: '#641723',\n};\nexport var ruby = {\n 1: '#fffcfd',\n 2: '#fff7f8',\n 3: '#feeaed',\n 4: '#ffdce1',\n 5: '#ffced6',\n 6: '#f8bfc8',\n 7: '#efacb8',\n 8: '#e592a3',\n 9: '#e54666',\n 10: '#dc3b5d',\n 11: '#ca244d',\n 12: '#64172b',\n};\nexport var crimson = {\n 1: '#fffcfd',\n 2: '#fef7f9',\n 3: '#ffe9f0',\n 4: '#fedce7',\n 5: '#facedd',\n 6: '#f3bed1',\n 7: '#eaacc3',\n 8: '#e093b2',\n 9: '#e93d82',\n 10: '#df3478',\n 11: '#cb1d63',\n 12: '#621639',\n};\nexport var pink = {\n 1: '#fffcfe',\n 2: '#fef7fb',\n 3: '#fee9f5',\n 4: '#fbdcef',\n 5: '#f6cee7',\n 6: '#efbfdd',\n 7: '#e7acd0',\n 8: '#dd93c2',\n 9: '#d6409f',\n 10: '#cf3897',\n 11: '#c2298a',\n 12: '#651249',\n};\nexport var plum = {\n 1: '#fefcff',\n 2: '#fdf7fd',\n 3: '#fbebfb',\n 4: '#f7def8',\n 5: '#f2d1f3',\n 6: '#e9c2ec',\n 7: '#deade3',\n 8: '#cf91d8',\n 9: '#ab4aba',\n 10: '#a144af',\n 11: '#953ea3',\n 12: '#53195d',\n};\nexport var purple = {\n 1: '#fefcfe',\n 2: '#fbf7fe',\n 3: '#f7edfe',\n 4: '#f2e2fc',\n 5: '#ead5f9',\n 6: '#e0c4f4',\n 7: '#d1afec',\n 8: '#be93e4',\n 9: '#8e4ec6',\n 10: '#8347b9',\n 11: '#8145b5',\n 12: '#402060',\n};\nexport var violet = {\n 1: '#fdfcfe',\n 2: '#faf8ff',\n 3: '#f4f0fe',\n 4: '#ebe4ff',\n 5: '#e1d9ff',\n 6: '#d4cafe',\n 7: '#c2b5f5',\n 8: '#aa99ec',\n 9: '#6e56cf',\n 10: '#654dc4',\n 11: '#6550b9',\n 12: '#2f265f',\n};\nexport var iris = {\n 1: '#fdfdff',\n 2: '#f8f8ff',\n 3: '#f0f1fe',\n 4: '#e6e7ff',\n 5: '#dadcff',\n 6: '#cbcdff',\n 7: '#b8baf8',\n 8: '#9b9ef0',\n 9: '#5b5bd6',\n 10: '#5151cd',\n 11: '#5753c6',\n 12: '#272962',\n};\nexport var indigo = {\n 1: '#fdfdfe',\n 2: '#f7f9ff',\n 3: '#edf2fe',\n 4: '#e1e9ff',\n 5: '#d2deff',\n 6: '#c1d0ff',\n 7: '#abbdf9',\n 8: '#8da4ef',\n 9: '#3e63dd',\n 10: '#3358d4',\n 11: '#3a5bc7',\n 12: '#1f2d5c',\n};\nexport var blue = {\n 1: '#fbfdff',\n 2: '#f4faff',\n 3: '#e6f4fe',\n 4: '#d5efff',\n 5: '#c2e5ff',\n 6: '#acd8fc',\n 7: '#8ec8f6',\n 8: '#5eb1ef',\n 9: '#0090ff',\n 10: '#0588f0',\n 11: '#0d74ce',\n 12: '#113264',\n};\nexport var cyan = {\n 1: '#fafdfe',\n 2: '#f2fafb',\n 3: '#def7f9',\n 4: '#caf1f6',\n 5: '#b5e9f0',\n 6: '#9ddde7',\n 7: '#7dcedc',\n 8: '#3db9cf',\n 9: '#00a2c7',\n 10: '#0797b9',\n 11: '#107d98',\n 12: '#0d3c48',\n};\nexport var teal = {\n 1: '#fafefd',\n 2: '#f3fbf9',\n 3: '#e0f8f3',\n 4: '#ccf3ea',\n 5: '#b8eae0',\n 6: '#a1ded2',\n 7: '#83cdc1',\n 8: '#53b9ab',\n 9: '#12a594',\n 10: '#0d9b8a',\n 11: '#008573',\n 12: '#0d3d38',\n};\nexport var jade = {\n 1: '#fbfefd',\n 2: '#f4fbf7',\n 3: '#e6f7ed',\n 4: '#d6f1e3',\n 5: '#c3e9d7',\n 6: '#acdec8',\n 7: '#8bceb6',\n 8: '#56ba9f',\n 9: '#29a383',\n 10: '#26997b',\n 11: '#208368',\n 12: '#1d3b31',\n};\nexport var green = {\n 1: '#fbfefc',\n 2: '#f4fbf6',\n 3: '#e6f6eb',\n 4: '#d6f1df',\n 5: '#c4e8d1',\n 6: '#adddc0',\n 7: '#8eceaa',\n 8: '#5bb98b',\n 9: '#30a46c',\n 10: '#2b9a66',\n 11: '#218358',\n 12: '#193b2d',\n};\nexport var grass = {\n 1: '#fbfefb',\n 2: '#f5fbf5',\n 3: '#e9f6e9',\n 4: '#daf1db',\n 5: '#c9e8ca',\n 6: '#b2ddb5',\n 7: '#94ce9a',\n 8: '#65ba74',\n 9: '#46a758',\n 10: '#3e9b4f',\n 11: '#2a7e3b',\n 12: '#203c25',\n};\nexport var brown = {\n 1: '#fefdfc',\n 2: '#fcf9f6',\n 3: '#f6eee7',\n 4: '#f0e4d9',\n 5: '#ebdaca',\n 6: '#e4cdb7',\n 7: '#dcbc9f',\n 8: '#cea37e',\n 9: '#ad7f58',\n 10: '#a07553',\n 11: '#815e46',\n 12: '#3e332e',\n};\nexport var bronze = {\n 1: '#fdfcfc',\n 2: '#fdf7f5',\n 3: '#f6edea',\n 4: '#efe4df',\n 5: '#e7d9d3',\n 6: '#dfcdc5',\n 7: '#d3bcb3',\n 8: '#c2a499',\n 9: '#a18072',\n 10: '#957468',\n 11: '#7d5e54',\n 12: '#43302b',\n};\nexport var gold = {\n 1: '#fdfdfc',\n 2: '#faf9f2',\n 3: '#f2f0e7',\n 4: '#eae6db',\n 5: '#e1dccf',\n 6: '#d8d0bf',\n 7: '#cbc0aa',\n 8: '#b9a88d',\n 9: '#978365',\n 10: '#8c7a5e',\n 11: '#71624b',\n 12: '#3b352b',\n};\nexport var sky = {\n 1: '#f9feff',\n 2: '#f1fafd',\n 3: '#e1f6fd',\n 4: '#d1f0fa',\n 5: '#bee7f5',\n 6: '#a9daed',\n 7: '#8dcae3',\n 8: '#60b3d7',\n 9: '#7ce2fe',\n 10: '#74daf8',\n 11: '#00749e',\n 12: '#1d3e56',\n};\nexport var mint = {\n 1: '#f9fefd',\n 2: '#f2fbf9',\n 3: '#ddf9f2',\n 4: '#c8f4e9',\n 5: '#b3ecde',\n 6: '#9ce0d0',\n 7: '#7ecfbd',\n 8: '#4cbba5',\n 9: '#86ead4',\n 10: '#7de0cb',\n 11: '#027864',\n 12: '#16433c',\n};\nexport var lime = {\n 1: '#fcfdfa',\n 2: '#f8faf3',\n 3: '#eef6d6',\n 4: '#e2f0bd',\n 5: '#d3e7a6',\n 6: '#c2da91',\n 7: '#abc978',\n 8: '#8db654',\n 9: '#bdee63',\n 10: '#b0e64c',\n 11: '#5c7c2f',\n 12: '#37401c',\n};\nexport var yellow = {\n 1: '#fdfdf9',\n 2: '#fefce9',\n 3: '#fffab8',\n 4: '#fff394',\n 5: '#ffe770',\n 6: '#f3d768',\n 7: '#e4c767',\n 8: '#d5ae39',\n 9: '#ffe629',\n 10: '#ffdc00',\n 11: '#9e6c00',\n 12: '#473b1f',\n};\nexport var amber = {\n 1: '#fefdfb',\n 2: '#fefbe9',\n 3: '#fff7c2',\n 4: '#ffee9c',\n 5: '#fbe577',\n 6: '#f3d673',\n 7: '#e9c162',\n 8: '#e2a336',\n 9: '#ffc53d',\n 10: '#ffba18',\n 11: '#ab6400',\n 12: '#4f3422',\n};\nexport var orange = {\n 1: '#fefcfb',\n 2: '#fff7ed',\n 3: '#ffefd6',\n 4: '#ffdfb5',\n 5: '#ffd19a',\n 6: '#ffc182',\n 7: '#f5ae73',\n 8: '#ec9455',\n 9: '#f76b15',\n 10: '#ef5f00',\n 11: '#cc4e00',\n 12: '#582d1d',\n};\n"],"names":["slate","red","crimson","plum","purple","indigo","blue","cyan","teal","grass","brown","sky","lime","yellow","amber","orange"],"mappings":"AACU,IAACA,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WA4CGC,EAAM,CACb,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAgBGC,EAAU,CACjB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAgBGC,EAAO,CACd,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG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,GAAI,UACJ,GAAI,UACJ,GAAI,WAgBGC,EAAO,CACd,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAS,CAChB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAS,CAChB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI"}
|
1
|
+
{"version":3,"file":"light.mjs","sources":["../../lib/color/light.js"],"sourcesContent":["// 기본 그레이 색상\nexport var slate = {\n 1: '#fcfcfd',\n 2: '#f9f9fb',\n 3: '#f0f0f3',\n 4: '#e8e8ec',\n 5: '#e0e1e6',\n 6: '#d9d9e0',\n 7: '#cdced6',\n 8: '#b9bbc6',\n 9: '#8b8d98',\n 10: '#80838d',\n 11: '#60646c',\n 12: '#1c2024',\n};\nexport var olive = {\n 1: '#fcfdfc',\n 2: '#f8faf8',\n 3: '#eff1ef',\n 4: '#e7e9e7',\n 5: '#dfe2df',\n 6: '#d7dad7',\n 7: '#cccfcc',\n 8: '#b9bcb8',\n 9: '#898e87',\n 10: '#7f847d',\n 11: '#60655f',\n 12: '#1d211c',\n};\nexport var sand = {\n 1: '#fdfdfc',\n 2: '#f9f9f8',\n 3: '#f1f0ef',\n 4: '#e9e8e6',\n 5: '#e2e1de',\n 6: '#dad9d6',\n 7: '#cfceca',\n 8: '#bcbbb5',\n 9: '#8d8d86',\n 10: '#82827c',\n 11: '#63635e',\n 12: '#21201c',\n};\nexport var tomato = {\n 1: '#fffcfc',\n 2: '#fff8f7',\n 3: '#feebe7',\n 4: '#ffdcd3',\n 5: '#ffcdc2',\n 6: '#fdbdaf',\n 7: '#f5a898',\n 8: '#ec8e7b',\n 9: '#e54d2e',\n 10: '#dd4425',\n 11: '#d13415',\n 12: '#5c271f',\n};\nexport var red = {\n 1: '#fffcfc',\n 2: '#fff7f7',\n 3: '#feebec',\n 4: '#ffdbdc',\n 5: '#ffcdce',\n 6: '#fdbdbe',\n 7: '#f4a9aa',\n 8: '#eb8e90',\n 9: '#da291c',\n 10: '#b52217',\n 11: '#881a11',\n 12: '#641723',\n};\nexport var ruby = {\n 1: '#fffcfd',\n 2: '#fff7f8',\n 3: '#feeaed',\n 4: '#ffdce1',\n 5: '#ffced6',\n 6: '#f8bfc8',\n 7: '#efacb8',\n 8: '#e592a3',\n 9: '#e54666',\n 10: '#dc3b5d',\n 11: '#ca244d',\n 12: '#64172b',\n};\nexport var crimson = {\n 1: '#fffcfd',\n 2: '#fef7f9',\n 3: '#ffe9f0',\n 4: '#fedce7',\n 5: '#facedd',\n 6: '#f3bed1',\n 7: '#eaacc3',\n 8: '#e093b2',\n 9: '#e93d82',\n 10: '#df3478',\n 11: '#cb1d63',\n 12: '#621639',\n};\nexport var pink = {\n 1: '#fffcfe',\n 2: '#fef7fb',\n 3: '#fee9f5',\n 4: '#fbdcef',\n 5: '#f6cee7',\n 6: '#efbfdd',\n 7: '#e7acd0',\n 8: '#dd93c2',\n 9: '#d6409f',\n 10: '#cf3897',\n 11: '#c2298a',\n 12: '#651249',\n};\nexport var plum = {\n 1: '#fefcff',\n 2: '#fdf7fd',\n 3: '#fbebfb',\n 4: '#f7def8',\n 5: '#f2d1f3',\n 6: '#e9c2ec',\n 7: '#deade3',\n 8: '#cf91d8',\n 9: '#ab4aba',\n 10: '#a144af',\n 11: '#953ea3',\n 12: '#53195d',\n};\nexport var purple = {\n 1: '#fefcfe',\n 2: '#fbf7fe',\n 3: '#f7edfe',\n 4: '#f2e2fc',\n 5: '#ead5f9',\n 6: '#e0c4f4',\n 7: '#d1afec',\n 8: '#be93e4',\n 9: '#8e4ec6',\n 10: '#8347b9',\n 11: '#8145b5',\n 12: '#402060',\n};\nexport var violet = {\n 1: '#fdfcfe',\n 2: '#faf8ff',\n 3: '#f4f0fe',\n 4: '#ebe4ff',\n 5: '#e1d9ff',\n 6: '#d4cafe',\n 7: '#c2b5f5',\n 8: '#aa99ec',\n 9: '#6e56cf',\n 10: '#654dc4',\n 11: '#6550b9',\n 12: '#2f265f',\n};\nexport var iris = {\n 1: '#fdfdff',\n 2: '#f8f8ff',\n 3: '#f0f1fe',\n 4: '#e6e7ff',\n 5: '#dadcff',\n 6: '#cbcdff',\n 7: '#b8baf8',\n 8: '#9b9ef0',\n 9: '#5b5bd6',\n 10: '#5151cd',\n 11: '#5753c6',\n 12: '#272962',\n};\nexport var indigo = {\n 1: '#fdfdfe',\n 2: '#f7f9ff',\n 3: '#edf2fe',\n 4: '#e1e9ff',\n 5: '#d2deff',\n 6: '#c1d0ff',\n 7: '#abbdf9',\n 8: '#8da4ef',\n 9: '#3e63dd',\n 10: '#3358d4',\n 11: '#3a5bc7',\n 12: '#1f2d5c',\n};\nexport var blue = {\n 1: '#fbfdff',\n 2: '#f4faff',\n 3: '#e6f4fe',\n 4: '#d5efff',\n 5: '#c2e5ff',\n 6: '#acd8fc',\n 7: '#8ec8f6',\n 8: '#5eb1ef',\n 9: '#0090ff',\n 10: '#0588f0',\n 11: '#0d74ce',\n 12: '#113264',\n};\nexport var cyan = {\n 1: '#fafdfe',\n 2: '#f2fafb',\n 3: '#def7f9',\n 4: '#caf1f6',\n 5: '#b5e9f0',\n 6: '#9ddde7',\n 7: '#7dcedc',\n 8: '#3db9cf',\n 9: '#00a2c7',\n 10: '#0797b9',\n 11: '#107d98',\n 12: '#0d3c48',\n};\nexport var teal = {\n 1: '#fafefd',\n 2: '#f3fbf9',\n 3: '#e0f8f3',\n 4: '#ccf3ea',\n 5: '#b8eae0',\n 6: '#a1ded2',\n 7: '#83cdc1',\n 8: '#53b9ab',\n 9: '#12a594',\n 10: '#0d9b8a',\n 11: '#008573',\n 12: '#0d3d38',\n};\nexport var jade = {\n 1: '#fbfefd',\n 2: '#f4fbf7',\n 3: '#e6f7ed',\n 4: '#d6f1e3',\n 5: '#c3e9d7',\n 6: '#acdec8',\n 7: '#8bceb6',\n 8: '#56ba9f',\n 9: '#29a383',\n 10: '#26997b',\n 11: '#208368',\n 12: '#1d3b31',\n};\nexport var green = {\n 1: '#fbfefc',\n 2: '#f4fbf6',\n 3: '#e6f6eb',\n 4: '#d6f1df',\n 5: '#c4e8d1',\n 6: '#adddc0',\n 7: '#8eceaa',\n 8: '#5bb98b',\n 9: '#30a46c',\n 10: '#2b9a66',\n 11: '#218358',\n 12: '#193b2d',\n};\nexport var grass = {\n 1: '#fbfefb',\n 2: '#f5fbf5',\n 3: '#e9f6e9',\n 4: '#daf1db',\n 5: '#c9e8ca',\n 6: '#b2ddb5',\n 7: '#94ce9a',\n 8: '#65ba74',\n 9: '#46a758',\n 10: '#3e9b4f',\n 11: '#2a7e3b',\n 12: '#203c25',\n};\nexport var brown = {\n 1: '#fefdfc',\n 2: '#fcf9f6',\n 3: '#f6eee7',\n 4: '#f0e4d9',\n 5: '#ebdaca',\n 6: '#e4cdb7',\n 7: '#dcbc9f',\n 8: '#cea37e',\n 9: '#ad7f58',\n 10: '#a07553',\n 11: '#815e46',\n 12: '#3e332e',\n};\nexport var bronze = {\n 1: '#fdfcfc',\n 2: '#fdf7f5',\n 3: '#f6edea',\n 4: '#efe4df',\n 5: '#e7d9d3',\n 6: '#dfcdc5',\n 7: '#d3bcb3',\n 8: '#c2a499',\n 9: '#a18072',\n 10: '#957468',\n 11: '#7d5e54',\n 12: '#43302b',\n};\nexport var gold = {\n 1: '#fdfdfc',\n 2: '#faf9f2',\n 3: '#f2f0e7',\n 4: '#eae6db',\n 5: '#e1dccf',\n 6: '#d8d0bf',\n 7: '#cbc0aa',\n 8: '#b9a88d',\n 9: '#978365',\n 10: '#8c7a5e',\n 11: '#71624b',\n 12: '#3b352b',\n};\nexport var sky = {\n 1: '#f9feff',\n 2: '#f1fafd',\n 3: '#e1f6fd',\n 4: '#d1f0fa',\n 5: '#bee7f5',\n 6: '#a9daed',\n 7: '#8dcae3',\n 8: '#60b3d7',\n 9: '#7ce2fe',\n 10: '#74daf8',\n 11: '#00749e',\n 12: '#1d3e56',\n};\nexport var mint = {\n 1: '#f9fefd',\n 2: '#f2fbf9',\n 3: '#ddf9f2',\n 4: '#c8f4e9',\n 5: '#b3ecde',\n 6: '#9ce0d0',\n 7: '#7ecfbd',\n 8: '#4cbba5',\n 9: '#86ead4',\n 10: '#7de0cb',\n 11: '#027864',\n 12: '#16433c',\n};\nexport var lime = {\n 1: '#fcfdfa',\n 2: '#f8faf3',\n 3: '#eef6d6',\n 4: '#e2f0bd',\n 5: '#d3e7a6',\n 6: '#c2da91',\n 7: '#abc978',\n 8: '#8db654',\n 9: '#bdee63',\n 10: '#b0e64c',\n 11: '#5c7c2f',\n 12: '#37401c',\n};\nexport var yellow = {\n 1: '#fdfdf9',\n 2: '#fefce9',\n 3: '#fffab8',\n 4: '#fff394',\n 5: '#ffe770',\n 6: '#f3d768',\n 7: '#e4c767',\n 8: '#d5ae39',\n 9: '#ffe629',\n 10: '#ffdc00',\n 11: '#9e6c00',\n 12: '#473b1f',\n};\nexport var amber = {\n 1: '#fefdfb',\n 2: '#fefbe9',\n 3: '#fff7c2',\n 4: '#ffee9c',\n 5: '#fbe577',\n 6: '#f3d673',\n 7: '#e9c162',\n 8: '#e2a336',\n 9: '#ffc53d',\n 10: '#ffba18',\n 11: '#ab6400',\n 12: '#4f3422',\n};\nexport var orange = {\n 1: '#fefcfb',\n 2: '#fff7ed',\n 3: '#ffefd6',\n 4: '#ffdfb5',\n 5: '#ffd19a',\n 6: '#ffc182',\n 7: '#f5ae73',\n 8: '#ec9455',\n 9: '#f76b15',\n 10: '#ef5f00',\n 11: '#cc4e00',\n 12: '#582d1d',\n};\n"],"names":["slate","olive","sand","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","bronze","gold","sky","mint","lime","yellow","amber","orange"],"mappings":"AACU,IAACA,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAO,CACd,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAS,CAChB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAM,CACb,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAO,CACd,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAU,CACjB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,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,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAO,CACd,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAS,CAChB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAS,CAChB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI"}
|
@@ -17,5 +17,5 @@ export declare const CheckboxGroupHorizontalVariants: (props?: ({
|
|
17
17
|
size?: "small" | "medium" | "large" | null | undefined;
|
18
18
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
19
19
|
export declare const useCheckboxGroupContext: () => CheckboxGroupRootProps;
|
20
|
-
export declare const CheckboxGroupRoot: React.ForwardRefExoticComponent<Omit<Omit<CheckboxGroupTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref">, "size"> & CheckboxGroupRootProps & React.RefAttributes<HTMLDivElement>>;
|
20
|
+
export declare const CheckboxGroupRoot: React.ForwardRefExoticComponent<Omit<Omit<CheckboxGroupTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref">, "color" | "size"> & CheckboxGroupRootProps & React.RefAttributes<HTMLDivElement>>;
|
21
21
|
export default CheckboxGroupRoot;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const CheckboxGroup: {
|
3
|
-
Root: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/checkbox-group").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref">, "size"> & import("./CheckboxGroupRoot").CheckboxGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
3
|
+
Root: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/checkbox-group").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref">, "color" | "size"> & import("./CheckboxGroupRoot").CheckboxGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
4
4
|
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
5
5
|
};
|
6
6
|
export default CheckboxGroup;
|
@@ -26,12 +26,11 @@ import { CalendarIcon } from '@radix-ui/react-icons';
|
|
26
26
|
import Button from '../../../lib/components/Button';
|
27
27
|
import Popover from '../../../lib/components/Popover';
|
28
28
|
import Calendar from '../../../lib/components/Calendar';
|
29
|
-
import Text from '../../../lib/Typography/Text';
|
30
29
|
import { cn } from '../../../lib/utils/utils';
|
31
30
|
import { format } from 'date-fns';
|
32
31
|
export var Datepicker = function (_a) {
|
33
32
|
var className = _a.className, classNames = _a.classNames, isOpen = _a.isOpen, setIsOpen = _a.setIsOpen, selected = _a.selected, onSelect = _a.onSelect, _b = _a.showOutsideDays, showOutsideDays = _b === void 0 ? true : _b, _c = _a.placeholder, placeholder = _c === void 0 ? '날짜를 선택해주세요' : _c, scaling = _a.scaling, color = _a.color, mode = _a.mode, props = __rest(_a, ["className", "classNames", "isOpen", "setIsOpen", "selected", "onSelect", "showOutsideDays", "placeholder", "scaling", "color", "mode"]);
|
34
|
-
return mode === 'range' ? (_jsxs(Popover.Root, { open: isOpen, onOpenChange: setIsOpen, scaling: scaling, children: [_jsx(Popover.Trigger, { className: cn('w-[280px]', className), children: _jsxs(Button, { color: color, scaling: scaling, appearance: 'outline', className: cn('justify-start gap-2 text-left font-normal'
|
33
|
+
return mode === 'range' ? (_jsxs(Popover.Root, { open: isOpen, onOpenChange: setIsOpen, scaling: scaling, children: [_jsx(Popover.Trigger, { className: cn('w-[280px] text-slateA-9', className), children: _jsxs(Button, { color: color, scaling: scaling, appearance: 'outline', className: cn('justify-start gap-2 text-left font-normal'), children: [_jsx(CalendarIcon, {}), (selected === null || selected === void 0 ? void 0 : selected.from) ? (selected.to ? (_jsxs(_Fragment, { children: [format(selected.from, 'yyyy-MM-dd'), " - ", format(selected.to, 'yyyy-MM-dd')] })) : (format(selected.from, 'yyyy-MM-dd'))) : (placeholder)] }) }), _jsx(Popover.Content, { className: "w-auto max-w-[600px] p-0", align: "start", children: _jsx(Calendar, __assign({ mode: "range", color: color, selected: selected, onSelect: onSelect, numberOfMonths: 2, defaultMonth: selected === null || selected === void 0 ? void 0 : selected.from, showOutsideDays: showOutsideDays, className: 'w-full', classNames: classNames }, props)) })] })) : (_jsxs(Popover.Root, { open: isOpen, onOpenChange: setIsOpen, scaling: scaling, children: [_jsx(Popover.Trigger, { className: cn('w-[280px] text-slateA-9', className), children: _jsxs(Button, { color: color, scaling: scaling, appearance: 'outline', className: cn('justify-start gap-2 text-left font-normal'), children: [_jsx(CalendarIcon, {}), selected ? format(selected, 'yyyy-MM-dd') : placeholder] }) }), _jsx(Popover.Content, { className: "w-auto p-0", children: _jsx(Calendar, __assign({ mode: mode, color: color, selected: selected, onSelect: onSelect, defaultMonth: selected, showOutsideDays: showOutsideDays, className: 'w-full', classNames: classNames }, props)) })] }));
|
35
34
|
};
|
36
35
|
Datepicker.displayName = 'Datepicker';
|
37
36
|
export default Datepicker;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
"use client";
|
2
|
-
import{jsxs as e,jsx as
|
2
|
+
import{jsxs as e,jsx as t,Fragment as o}from"react/jsx-runtime";import{CalendarIcon as a}from"@radix-ui/react-icons";import{Button as r}from"../Button/index.mjs";import n from"../Popover/index.mjs";import{Calendar as s}from"../Calendar/index.mjs";import{cn as l}from"../../utils/utils.mjs";import{format as c}from"date-fns";var i=function(){return i=Object.assign||function(e){for(var t,o=1,a=arguments.length;o<a;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)},m=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(o[a[r]]=e[a[r]])}return o},d=function(d){var p=d.className,f=d.classNames,y=d.isOpen,u=d.setIsOpen,h=d.selected,O=d.onSelect,g=d.showOutsideDays,x=void 0===g||g,w=d.placeholder,N=void 0===w?"날짜를 선택해주세요":w,j=d.scaling,v=d.color,M=d.mode,b=m(d,["className","classNames","isOpen","setIsOpen","selected","onSelect","showOutsideDays","placeholder","scaling","color","mode"]);return e(n.Root,"range"===M?{open:y,onOpenChange:u,scaling:j,children:[t(n.Trigger,{className:l("w-[280px] text-slateA-9",p),children:e(r,{color:v,scaling:j,appearance:"outline",className:l("justify-start gap-2 text-left font-normal"),children:[t(a,{}),(null==h?void 0:h.from)?h.to?e(o,{children:[c(h.from,"yyyy-MM-dd")," - ",c(h.to,"yyyy-MM-dd")]}):c(h.from,"yyyy-MM-dd"):N]})}),t(n.Content,{className:"w-auto max-w-[600px] p-0",align:"start",children:t(s,i({mode:"range",color:v,selected:h,onSelect:O,numberOfMonths:2,defaultMonth:null==h?void 0:h.from,showOutsideDays:x,className:"w-full",classNames:f},b))})]}:{open:y,onOpenChange:u,scaling:j,children:[t(n.Trigger,{className:l("w-[280px] text-slateA-9",p),children:e(r,{color:v,scaling:j,appearance:"outline",className:l("justify-start gap-2 text-left font-normal"),children:[t(a,{}),h?c(h,"yyyy-MM-dd"):N]})}),t(n.Content,{className:"w-auto p-0",children:t(s,i({mode:M,color:v,selected:h,onSelect:O,defaultMonth:h,showOutsideDays:x,className:"w-full",classNames:f},b))})]})};d.displayName="Datepicker";export{d as Datepicker,d as default};
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
@@ -2,8 +2,9 @@ import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
4
|
import { dialogContentVariants } from './DialogContent';
|
5
|
+
import { IColor } from '../../../lib/types';
|
5
6
|
export interface DialogProps extends VariantProps<typeof dialogContentVariants> {
|
6
|
-
color?:
|
7
|
+
color?: IColor;
|
7
8
|
}
|
8
9
|
export declare const DialogContext: React.Context<DialogProps>;
|
9
10
|
export declare const DialogRoot: {
|
@@ -7,9 +7,9 @@ export interface DoughnutChartProps extends VariantProps<typeof doughnutVariants
|
|
7
7
|
className?: string;
|
8
8
|
title?: IChartTitle;
|
9
9
|
legend?: IChartLegend;
|
10
|
-
datasets: IChartDatasets
|
10
|
+
datasets: (IChartDatasets & {
|
11
11
|
data: number[];
|
12
|
-
}[];
|
12
|
+
})[];
|
13
13
|
datalabels?: IChartDataLabels;
|
14
14
|
}
|
15
15
|
declare const doughnutVariants: (props?: ({
|
@@ -52,7 +52,7 @@ var DoughnutChart = function (_a) {
|
|
52
52
|
}
|
53
53
|
};
|
54
54
|
datasets.forEach(function (dataset, index) {
|
55
|
-
datasets[index] = __assign(
|
55
|
+
datasets[index] = __assign({ backgroundColor: getChartColor(isColorMixed, appearance), borderColor: getChartColor(isColorMixed, 'solid') }, dataset);
|
56
56
|
});
|
57
57
|
return (_jsx(Doughnut, __assign({ data: { labels: labels, datasets: datasets }, options: {
|
58
58
|
plugins: {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
"use client";
|
2
|
-
import{jsx as t}from"react/jsx-runtime";import{Doughnut as a}from"react-chartjs-2";import{Chart as r,ArcElement as e,Tooltip as o,Legend as s,plugins as l}from"chart.js/auto";import i from"chartjs-plugin-datalabels";import{cn as n}from"../../utils/utils.mjs";import{cva as c}from"class-variance-authority";import{scalingVariants as p}from"../../constants.mjs";import{chartColorList as d,chartAlphaColorList as m}from"../../color/constants.mjs";var f=function(){return f=Object.assign||function(t){for(var a,r=1,e=arguments.length;r<e;r++)for(var o in a=arguments[r])Object.prototype.hasOwnProperty.call(a,o)&&(t[o]=a[o]);return t},f.apply(this,arguments)},u=function(t,a){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&a.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)a.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(r[e[o]]=t[e[o]])}return r};r.register(e,o,s,l,i),r.defaults.set("plugins.datalabels",{display:!1});var g=c("",{variants:{scaling:f({},p)},defaultVariants:{scaling:"100%"}}),b=function(r){var e=r.labels,o=r.title,s=r.legend,l=r.datasets,i=r.datalabels,c=r.scaling,p=r.className,b=r.appearance,y=void 0===b?"solid":b,j=r.isColorMixed,v=void 0===j||j,h=u(r,["labels","title","legend","datasets","datalabels","scaling","className","appearance","isColorMixed"]),O=function(t,a){return"solid"===a?t?d.mixed:d.sorting:"soft"===a?t?m.mixed:m.sorting:void 0};return l.forEach((function(t,a){l[a]=f(
|
2
|
+
import{jsx as t}from"react/jsx-runtime";import{Doughnut as a}from"react-chartjs-2";import{Chart as r,ArcElement as e,Tooltip as o,Legend as s,plugins as l}from"chart.js/auto";import i from"chartjs-plugin-datalabels";import{cn as n}from"../../utils/utils.mjs";import{cva as c}from"class-variance-authority";import{scalingVariants as p}from"../../constants.mjs";import{chartColorList as d,chartAlphaColorList as m}from"../../color/constants.mjs";var f=function(){return f=Object.assign||function(t){for(var a,r=1,e=arguments.length;r<e;r++)for(var o in a=arguments[r])Object.prototype.hasOwnProperty.call(a,o)&&(t[o]=a[o]);return t},f.apply(this,arguments)},u=function(t,a){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&a.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)a.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(r[e[o]]=t[e[o]])}return r};r.register(e,o,s,l,i),r.defaults.set("plugins.datalabels",{display:!1});var g=c("",{variants:{scaling:f({},p)},defaultVariants:{scaling:"100%"}}),b=function(r){var e=r.labels,o=r.title,s=r.legend,l=r.datasets,i=r.datalabels,c=r.scaling,p=r.className,b=r.appearance,y=void 0===b?"solid":b,j=r.isColorMixed,v=void 0===j||j,h=u(r,["labels","title","legend","datasets","datalabels","scaling","className","appearance","isColorMixed"]),O=function(t,a){return"solid"===a?t?d.mixed:d.sorting:"soft"===a?t?m.mixed:m.sorting:void 0};return l.forEach((function(t,a){l[a]=f({backgroundColor:O(v,y),borderColor:O(v,"solid")},t)})),t(a,f({data:{labels:e,datasets:l},options:{plugins:{title:o,legend:s,datalabels:i}},className:n(g({scaling:c}),p)},h))};b.displayName="DoughnutChart";export{b as default};
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
@@ -19,10 +19,11 @@ import Button from '../Button';
|
|
19
19
|
import TextField from '../TextField';
|
20
20
|
import Text from '../../Typography/Text';
|
21
21
|
function NumberingPagination(_a) {
|
22
|
-
var _b, _c;
|
22
|
+
var _b, _c, _d;
|
23
23
|
var table = _a.table;
|
24
|
-
var
|
24
|
+
var _e = useState('1'), nowPage = _e[0], setNowPage = _e[1];
|
25
25
|
var color = (_b = table.options.color) !== null && _b !== void 0 ? _b : MAIN_COLOR;
|
26
|
+
var radius = (_c = table.options.radius) !== null && _c !== void 0 ? _c : 'medium';
|
26
27
|
var size = table.options.size == 'x-small' ? 'small' : table.options.size;
|
27
28
|
var currentPage = table.options.pagination
|
28
29
|
? table.options.pagination.pageIndex
|
@@ -40,7 +41,7 @@ function NumberingPagination(_a) {
|
|
40
41
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: i }));
|
41
42
|
setNowPage(String(i + 1));
|
42
43
|
}
|
43
|
-
}, color: currentInx === i ? color : 'slate', children: i + 1 }, i));
|
44
|
+
}, color: currentInx === i ? color : 'slate', radius: radius, children: i + 1 }, i));
|
44
45
|
};
|
45
46
|
for (var i = 0; i < table.getPageCount(); i++) {
|
46
47
|
_loop_1(i);
|
@@ -53,13 +54,13 @@ function NumberingPagination(_a) {
|
|
53
54
|
table.options.setPagination &&
|
54
55
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: 0 }));
|
55
56
|
setNowPage('1');
|
56
|
-
}, color: currentInx === 0 ? color : 'slate', children: 1 }, 0), _jsx(Button, { appearance: "ghost", disabled: true, size: size, children: "..." }));
|
57
|
+
}, color: currentInx === 0 ? color : 'slate', radius: radius, children: 1 }, 0), _jsx(Button, { appearance: "ghost", disabled: true, size: size, children: "..." }));
|
57
58
|
pageNumbers.push(_jsx(Button, { appearance: "ghost", disabled: true, size: size, children: "..." }), _jsx(Button, { size: size, appearance: "ghost", onClick: function () {
|
58
59
|
table.setPageIndex(table.getPageCount() - 1);
|
59
60
|
table.options.setPagination &&
|
60
61
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: table.getPageCount() - 1 }));
|
61
62
|
setNowPage(String(table.getPageCount()));
|
62
|
-
}, color: currentInx === table.getPageCount() - 1 ? color : 'slate', children: table.getPageCount() }, table.getPageCount() - 1));
|
63
|
+
}, color: currentInx === table.getPageCount() - 1 ? color : 'slate', radius: radius, children: table.getPageCount() }, table.getPageCount() - 1));
|
63
64
|
}
|
64
65
|
else if (currentInx - 3 <= 0) {
|
65
66
|
pageNumbers = pageNumbers.slice(0, 7);
|
@@ -68,7 +69,7 @@ function NumberingPagination(_a) {
|
|
68
69
|
table.options.setPagination &&
|
69
70
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: table.getPageCount() - 1 }));
|
70
71
|
setNowPage(String(table.getPageCount()));
|
71
|
-
}, color: currentInx === table.getPageCount() - 1 ? color : 'slate', children: table.getPageCount() }, table.getPageCount() - 1));
|
72
|
+
}, color: currentInx === table.getPageCount() - 1 ? color : 'slate', radius: radius, children: table.getPageCount() }, table.getPageCount() - 1));
|
72
73
|
}
|
73
74
|
else {
|
74
75
|
pageNumbers = pageNumbers.slice(table.getPageCount() - 7, table.getPageCount());
|
@@ -77,12 +78,12 @@ function NumberingPagination(_a) {
|
|
77
78
|
table.options.setPagination &&
|
78
79
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: 0 }));
|
79
80
|
setNowPage('1');
|
80
|
-
}, color: currentInx === 0 ? color : 'slate', children: 1 }, 0), _jsx(Button, { appearance: "ghost", disabled: true, size: size, children: "..." }));
|
81
|
+
}, color: currentInx === 0 ? color : 'slate', radius: radius, children: 1 }, 0), _jsx(Button, { appearance: "ghost", disabled: true, size: size, children: "..." }));
|
81
82
|
}
|
82
83
|
}
|
83
84
|
return pageNumbers;
|
84
85
|
};
|
85
|
-
return (_jsxs("div", { children: [_jsxs("div", { className: "flex items-center justify-center gap-2", children: [_jsxs(Select.Root, { size: size, color: color, value: String(table.getState().pagination.pageSize), defaultValue: String(table.getState().pagination.pageSize), onValueChange: function (e) {
|
86
|
+
return (_jsxs("div", { children: [_jsxs("div", { className: "flex items-center justify-center gap-2", children: [_jsxs(Select.Root, { size: size, color: color, radius: radius, value: String(table.getState().pagination.pageSize), defaultValue: String(table.getState().pagination.pageSize), onValueChange: function (e) {
|
86
87
|
table.options.setPagination &&
|
87
88
|
table.options.setPagination({
|
88
89
|
pageIndex: 0,
|
@@ -91,28 +92,28 @@ function NumberingPagination(_a) {
|
|
91
92
|
table.setPageSize(Number(e));
|
92
93
|
setNowPage('1');
|
93
94
|
table.setPageIndex(0);
|
94
|
-
}, children: [_jsx(Select.Trigger, {}), _jsx(Select.Content, { children: [10, 20, 30, 50, 100].map(function (pageSize) { return (_jsx(Select.Item, { value: String(pageSize), children: pageSize }, pageSize)); }) })] }), _jsxs("div", { className: "flex gap-2", children: [_jsx(IconButton, { size: size, appearance: "ghost", className: "
|
95
|
+
}, children: [_jsx(Select.Trigger, {}), _jsx(Select.Content, { children: [10, 20, 30, 50, 100].map(function (pageSize) { return (_jsx(Select.Item, { value: String(pageSize), children: pageSize }, pageSize)); }) })] }), _jsxs("div", { className: "flex gap-2", children: [_jsx(IconButton, { size: size, appearance: "ghost", className: "border p-1", color: color, radius: radius, onClick: function () {
|
95
96
|
table.firstPage();
|
96
97
|
table.options.setPagination &&
|
97
98
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: 0 }));
|
98
99
|
setNowPage('1');
|
99
|
-
}, disabled: currentPage === 0, children: _jsx(DoubleArrowLeftIcon, {}) }), _jsx(IconButton, { size: size, appearance: "ghost", className: "
|
100
|
+
}, disabled: currentPage === 0, children: _jsx(DoubleArrowLeftIcon, {}) }), _jsx(IconButton, { size: size, appearance: "ghost", className: "border p-1", color: color, radius: radius, onClick: function () {
|
100
101
|
table.previousPage();
|
101
102
|
setNowPage(String(table.getState().pagination.pageIndex));
|
102
103
|
table.options.setPagination &&
|
103
104
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: table.options.pagination.pageIndex - 1 }));
|
104
|
-
}, disabled: currentPage === 0, children: _jsx(ChevronLeftIcon, {}) })] }), _jsx("div", { children: renderPageNumbers() }), _jsxs("div", { className: "flex gap-2", children: [_jsx(IconButton, { size: size, appearance: "ghost", className: "
|
105
|
+
}, disabled: currentPage === 0, children: _jsx(ChevronLeftIcon, {}) })] }), _jsx("div", { children: renderPageNumbers() }), _jsxs("div", { className: "flex gap-2", children: [_jsx(IconButton, { size: size, appearance: "ghost", className: "border p-1", color: color, radius: radius, onClick: function () {
|
105
106
|
table.nextPage();
|
106
107
|
setNowPage(String(table.getState().pagination.pageIndex + 2));
|
107
108
|
table.options.setPagination &&
|
108
109
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: table.options.pagination.pageIndex + 1 }));
|
109
|
-
}, disabled: currentPage === table.getPageCount() - 1, children: _jsx(ChevronRightIcon, {}) }), _jsx(IconButton, { size: size, appearance: "ghost", className: "
|
110
|
+
}, disabled: currentPage === table.getPageCount() - 1, children: _jsx(ChevronRightIcon, {}) }), _jsx(IconButton, { size: size, appearance: "ghost", className: "border p-1", color: color, radius: radius, onClick: function () {
|
110
111
|
table.lastPage();
|
111
112
|
setNowPage(String(table.getPageCount()));
|
112
113
|
table.options.setPagination &&
|
113
114
|
table.options.setPagination(__assign(__assign({}, table.options.pagination), { pageIndex: table.getPageCount() - 1 }));
|
114
|
-
}, disabled: currentPage === table.getPageCount() - 1, children: _jsx(DoubleArrowRightIcon, {}) })] })] }), !((
|
115
|
+
}, disabled: currentPage === table.getPageCount() - 1, children: _jsx(DoubleArrowRightIcon, {}) })] })] }), !((_d = table.options) === null || _d === void 0 ? void 0 : _d.disableInputPagination) && (_jsxs("div", { className: "mt-4 flex items-center justify-center gap-2", children: [_jsx(TextField.Root, { size: size, type: "number", color: color, radius: radius, min: "1", max: table.getPageCount(), value: nowPage, onChange: function (e) {
|
115
116
|
setNowPage(e.target.value);
|
116
|
-
}, className: "w-[50px]
|
117
|
+
}, className: "w-[50px] border" }), _jsxs(Text, { children: ["/ ", table.getPageCount()] }), _jsx(Button, { size: size, onClick: function () { return table.setPageIndex(nowPage ? Number(nowPage) - 1 : 0); }, color: color, radius: radius, children: "\uC774\uB3D9" })] }))] }));
|
117
118
|
}
|
118
119
|
export default NumberingPagination;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{jsxs as e,jsx as n}from"react/jsx-runtime";import{useState as t}from"react";import{IconButton as
|
1
|
+
import{jsxs as e,jsx as n}from"react/jsx-runtime";import{useState as t}from"react";import{IconButton as i}from"../IconButton/index.mjs";import{DoubleArrowLeftIcon as a,ChevronLeftIcon as o,ChevronRightIcon as s,DoubleArrowRightIcon as g}from"@radix-ui/react-icons";import r from"../Select/index.mjs";import{MAIN_COLOR as p}from"../../color/constants.mjs";import{Button as c}from"../Button/index.mjs";import l from"../TextField/index.mjs";import{Text as d}from"../../Typography/Text/index.mjs";var u=function(){return u=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},u.apply(this,arguments)};function P(P){var h,m,x,f=P.table,C=t("1"),I=C[0],z=C[1],b=null!==(h=f.options.color)&&void 0!==h?h:p,v=null!==(m=f.options.radius)&&void 0!==m?m:"medium",S="x-small"==f.options.size?"small":f.options.size,N=f.options.pagination?f.options.pagination.pageIndex:f.getState().pagination.pageIndex;return e("div",{children:[e("div",{className:"flex items-center justify-center gap-2",children:[e(r.Root,{size:S,color:b,radius:v,value:String(f.getState().pagination.pageSize),defaultValue:String(f.getState().pagination.pageSize),onValueChange:function(e){f.options.setPagination&&f.options.setPagination({pageIndex:0,pageSize:Number(e)}),f.setPageSize(Number(e)),z("1"),f.setPageIndex(0)},children:[n(r.Trigger,{}),n(r.Content,{children:[10,20,30,50,100].map((function(e){return n(r.Item,{value:String(e),children:e},e)}))})]}),e("div",{className:"flex gap-2",children:[n(i,{size:S,appearance:"ghost",className:"border p-1",color:b,radius:v,onClick:function(){f.firstPage(),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:0})),z("1")},disabled:0===N,children:n(a,{})}),n(i,{size:S,appearance:"ghost",className:"border p-1",color:b,radius:v,onClick:function(){f.previousPage(),z(String(f.getState().pagination.pageIndex)),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:f.options.pagination.pageIndex-1}))},disabled:0===N,children:n(o,{})})]}),n("div",{children:function(){for(var e=[],t=f.options.pagination?f.options.pagination.pageIndex:f.getState().pagination.pageIndex,i=function(i){e.push(n(c,{size:S,appearance:"ghost",onClick:function(){t!==i&&(f.setPageIndex(i),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:i})),z(String(i+1)))},color:t===i?b:"slate",radius:v,children:i+1},i))},a=0;a<f.getPageCount();a++)i(a);return e.length>10&&(t-3>0&&t+3<f.getPageCount()?((e=e.slice(t-2,t+3)).unshift(n(c,{size:S,appearance:"ghost",onClick:function(){f.setPageIndex(0),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:0})),z("1")},color:0===t?b:"slate",radius:v,children:1},0),n(c,{appearance:"ghost",disabled:!0,size:S,children:"..."})),e.push(n(c,{appearance:"ghost",disabled:!0,size:S,children:"..."}),n(c,{size:S,appearance:"ghost",onClick:function(){f.setPageIndex(f.getPageCount()-1),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:f.getPageCount()-1})),z(String(f.getPageCount()))},color:t===f.getPageCount()-1?b:"slate",radius:v,children:f.getPageCount()},f.getPageCount()-1))):t-3<=0?(e=e.slice(0,7)).push(n(c,{appearance:"ghost",disabled:!0,size:S,children:"..."}),n(c,{size:S,appearance:"ghost",onClick:function(){f.setPageIndex(f.getPageCount()-1),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:f.getPageCount()-1})),z(String(f.getPageCount()))},color:t===f.getPageCount()-1?b:"slate",radius:v,children:f.getPageCount()},f.getPageCount()-1)):(e=e.slice(f.getPageCount()-7,f.getPageCount())).unshift(n(c,{size:S,appearance:"ghost",onClick:function(){f.setPageIndex(0),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:0})),z("1")},color:0===t?b:"slate",radius:v,children:1},0),n(c,{appearance:"ghost",disabled:!0,size:S,children:"..."}))),e}()}),e("div",{className:"flex gap-2",children:[n(i,{size:S,appearance:"ghost",className:"border p-1",color:b,radius:v,onClick:function(){f.nextPage(),z(String(f.getState().pagination.pageIndex+2)),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:f.options.pagination.pageIndex+1}))},disabled:N===f.getPageCount()-1,children:n(s,{})}),n(i,{size:S,appearance:"ghost",className:"border p-1",color:b,radius:v,onClick:function(){f.lastPage(),z(String(f.getPageCount())),f.options.setPagination&&f.options.setPagination(u(u({},f.options.pagination),{pageIndex:f.getPageCount()-1}))},disabled:N===f.getPageCount()-1,children:n(g,{})})]})]}),!(null===(x=f.options)||void 0===x?void 0:x.disableInputPagination)&&e("div",{className:"mt-4 flex items-center justify-center gap-2",children:[n(l.Root,{size:S,type:"number",color:b,radius:v,min:"1",max:f.getPageCount(),value:I,onChange:function(e){z(e.target.value)},className:"w-[50px] border"}),e(d,{children:["/ ",f.getPageCount()]}),n(c,{size:S,onClick:function(){return f.setPageIndex(I?Number(I)-1:0)},color:b,radius:v,children:"이동"})]})]})}export{P as default};
|
2
2
|
//# sourceMappingURL=NumberingPagination.mjs.map
|