@hotelinking/ui 1.30.4 → 1.30.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styleProd.css +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.chart{display:flex;flex-direction:column;padding:1rem;position:relative}.chart-content{display:flex;flex:1;flex-direction:column;height:100%;width:100%}.chart-content .title{color:#6c5ef6}.chart-selector li{color:#6c5ef6;cursor:pointer;font-size:.8rem;margin:0 1rem}.chart-selector .selected{background-color:#6c5ef6;border-radius:3px;color:#fff;padding:.2rem}.svg-funnel-js{display:inline-block;position:relative}.svg-funnel-js svg{display:block}.svg-funnel-js .svg-funnel-js__labels{display:flex;height:100%;left:0;position:absolute;top:0}.svg-funnel-js.svg-funnel-js--vertical .svg-funnel-js__labels{flex-direction:column}.svg-funnel-js .svg-funnel-js__container{height:100%;width:100%}.svg-funnel-js .svg-funnel-js__labels{box-sizing:border-box;width:100%}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label{flex:1 1 0;position:relative}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label .label__value{color:#4f46e5;font-family:Inter,sans-serif;font-size:24px;line-height:18px;margin-bottom:6px}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label .label__title{color:#4f46e5;font-size:12px;font-weight:700}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label .label__percentage{color:#9896dc;font-size:16px;font-weight:700}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label .label__segment-percentages{background-color:#715aff;box-sizing:border-box;cursor:default;left:0;margin-top:24px;opacity:0;padding:8px 24px;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .1s ease;width:100%}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label .label__segment-percentages ul{list-style-type:none;margin:0;padding:0}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label .label__segment-percentages ul li{color:#fff;font-size:13px;line-height:16px}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label .label__segment-percentages ul li .percentage__list-label{color:#fff;font-weight:700}.svg-funnel-js .svg-funnel-js__labels .svg-funnel-js__label:hover .label__segment-percentages{opacity:1}.svg-funnel-js:not(.svg-funnel-js--vertical){padding-bottom:16px;padding-top:64px}.svg-funnel-js:not(.svg-funnel-js--vertical) .svg-funnel-js__label{padding-left:24px}.svg-funnel-js:not(.svg-funnel-js--vertical) .svg-funnel-js__label:not(:first-child){border-left:1px solid #9896dc}.svg-funnel-js.svg-funnel-js--vertical{padding-left:120px;padding-right:16px}.svg-funnel-js.svg-funnel-js--vertical .svg-funnel-js__label{padding-top:24px}.svg-funnel-js.svg-funnel-js--vertical .svg-funnel-js__label:not(:first-child){border-top:1px solid #e3e3e3}.svg-funnel-js.svg-funnel-js--vertical .svg-funnel-js__label .label__segment-percentages .segment-percentage__list{display:flex;justify-content:space-around}.svg-funnel-js .svg-funnel-js__subLabels{display:flex;justify-content:center;left:0;margin-top:24px;width:100%}.svg-funnel-js .svg-funnel-js__subLabels .svg-funnel-js__subLabel{display:flex;font-size:12px;line-height:16px}.svg-funnel-js .svg-funnel-js__subLabels .svg-funnel-js__subLabel:not(:first-child){margin-left:16px}.svg-funnel-js .svg-funnel-js__subLabels .svg-funnel-js__subLabel .svg-funnel-js__subLabel--color{border-radius:50%;height:12px;margin:2px 8px 2px 0;width:12px}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hotelinking/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.30.
|
|
4
|
+
"version": "1.30.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/ui.cjs.js",
|
|
7
7
|
"module": "dist/ui.es.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"dev": "vite",
|
|
13
13
|
"build": "vite build && npm run build:styles",
|
|
14
|
-
"build:styles": "postcss src/style.css -o dist/style.css",
|
|
14
|
+
"build:styles": "postcss src/style.css -o dist/style.css && postcss src/styleProd.css -o dist/styleProd.css",
|
|
15
15
|
"preview": "vite preview",
|
|
16
16
|
"storybook": "storybook dev -p 6006",
|
|
17
17
|
"build:storybook": "storybook build",
|