@hbis-uni/components 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +905 -416
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +11 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
@charset "UTF-8";.c1-container[data-v-e2028f64]{padding:16px;border:1px solid #e0e0e0;border-radius:4px;background-color:#fff}.c1-primary[data-v-e2028f64]{background-color:#1890ff;color:#fff;border-color:#1890ff}.c2-container[data-v-b1d573ae]{padding:20px;border:1px solid #e0e0e0;border-radius:8px;background-color:#fafafa;margin:16px 0}.c2-title[data-v-b1d573ae]{margin:0 0 12px;font-size:18px;font-weight:600;color:#333}.c2-content[data-v-b1d573ae]{margin-bottom:16px;color:#666}.c2-button[data-v-b1d573ae]{padding:8px 16px;background-color:#52c41a;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .3s}.c2-button[data-v-b1d573ae]:hover{background-color:#73d13d}.hbis-date-strip[data-v-2e8258eb]{display:flex;flex-direction:column;width:100%;padding:8px;background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;box-sizing:border-box}.hbis-date-strip--scrollable[data-v-2e8258eb]{overflow:hidden}.hbis-date-strip__scroll-wrapper[data-v-2e8258eb]{overflow:hidden;width:100%}.hbis-date-strip__scroll-container[data-v-2e8258eb]{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}.hbis-date-strip__scroll-container[data-v-2e8258eb]::-webkit-scrollbar{display:none}.hbis-date-strip__weekdays[data-v-2e8258eb]{display:flex;margin-bottom:8px;box-sizing:border-box;flex-wrap:nowrap}.hbis-date-strip__weekday[data-v-2e8258eb]{text-align:center;font-size:12px;font-weight:500;color:#666;padding:4px 0;flex:0 0 calc(100% / 7);width:calc(100% / 7);min-width:calc(100% / 7);box-sizing:border-box}.hbis-date-strip__weekday--weekend[data-v-2e8258eb]{color:#ff4d4f}.hbis-date-strip__dates[data-v-2e8258eb]{display:flex;justify-content:flex-start;width:100%;box-sizing:border-box}.hbis-date-strip--scrollable .hbis-date-strip__weekdays[data-v-2e8258eb]{width:auto}.hbis-date-strip--scrollable .hbis-date-strip__dates[data-v-2e8258eb]{width:auto;flex-wrap:nowrap}.hbis-date-strip:not(.hbis-date-strip--scrollable) .hbis-date-strip__dates[data-v-2e8258eb]{justify-content:space-around;width:100%}.hbis-date-strip__date[data-v-2e8258eb]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 0;border-radius:4px;transition:all .2s ease;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;flex:0 0 calc(100% / 7);width:calc(100% / 7);min-width:calc(100% / 7);max-width:calc(100% / 7);box-sizing:border-box;white-space:normal}.hbis-date-strip__date--disabled[data-v-2e8258eb]{cursor:not-allowed;opacity:.6}.hbis-date-strip__date-number[data-v-2e8258eb]{font-size:14px;font-weight:500;padding:4px;transition:all .2s ease;width:100%;text-align:center;box-sizing:border-box}.hbis-date-strip__date-slot[data-v-2e8258eb]{margin-top:4px;font-size:10px;text-align:center;width:100%;box-sizing:border-box}.hbis-date-strip--highlight-dot .hbis-date-strip__date--selected .hbis-date-strip__date-number[data-v-2e8258eb]{border-radius:2px}.hbis-date-strip--highlight-round .hbis-date-strip__date--selected .hbis-date-strip__date-number[data-v-2e8258eb]{border-radius:50%;padding:4px 8px;min-width:20px;text-align:center}.hbis-date-strip__date--today .hbis-date-strip__date-number[data-v-2e8258eb]{font-weight:600;color:#1890ff!important}.hbis-date-strip__date--disabled[data-v-2e8258eb]{color:#ccc!important;background-color:transparent!important}.image-preview{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#000000f2;overflow:hidden;z-index:9999;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.counter{position:absolute;top:20px;left:50%;transform:translate(-50%);background-color:#000000b3;color:#fff;padding:8px 16px;border-radius:20px;font-size:14px;z-index:10}.counter-text{font-weight:500}.close-btn{position:absolute;top:20px;right:20px;background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:8px;border-radius:50%;background-color:#00000080;width:40px;height:40px;display:flex;align-items:center;justify-content:center;z-index:10;transition:background-color .2s ease}.close-btn:hover{background-color:#000000b3}.swiper-container{position:relative;width:100%;height:100%;overflow:hidden}.swiper-wrapper{display:flex;height:100%}.swiper-slide{flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-container{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:grab}.image-container:active{cursor:grabbing}.preview-image{max-width:100%;max-height:100%;object-fit:contain;transition:opacity .3s ease}.nav-btn{position:absolute;top:50%;transform:translateY(-50%);background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:12px;border-radius:50%;background-color:#00000080;width:48px;height:48px;display:flex;align-items:center;justify-content:center;z-index:10;transition:background-color .2s ease,opacity .2s ease}.nav-btn:hover:not(:disabled){background-color:#000000b3}.nav-btn:disabled{opacity:.3;cursor:not-allowed}.prev-btn{left:20px}.next-btn{right:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.svga-player-container[data-v-6b83dcf1]{position:relative;width:var(--v5ce75b7f);height:var(--v26351a8e);overflow:hidden}.svga-player-canvas[data-v-6b83dcf1]{width:100%;height:100%;display:block}.hbis-auto-scroll-list[data-v-d23f102b]{position:relative;overflow:hidden;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;touch-action:none}.scroll-content[data-v-d23f102b]{position:absolute;left:0;top:0;will-change:transform;cursor:grab}.scroll-content[data-v-d23f102b]:active{cursor:grabbing}.default-item[data-v-d23f102b]{display:flex;align-items:center;justify-content:center;padding:0 10px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 768px){.hbis-auto-scroll-list[data-v-d23f102b]{touch-action:pan-y}.scroll-content[data-v-d23f102b],.scroll-content[data-v-d23f102b]:active{cursor:none}.default-item[data-v-d23f102b]{padding:0 8px;font-size:14px}}@media (max-width: 480px){.default-item[data-v-d23f102b]{padding:0 6px;font-size:13px}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hbis-uni/components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "HBIS UNI components library",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -41,9 +41,19 @@
|
|
|
41
41
|
"require": "dist/index.cjs.js",
|
|
42
42
|
"types": "dist/types/index.d.ts"
|
|
43
43
|
},
|
|
44
|
+
"./hbis-auto-scroll-list": {
|
|
45
|
+
"import": "dist/index.es.js",
|
|
46
|
+
"require": "dist/index.cjs.js",
|
|
47
|
+
"types": "dist/types/index.d.ts"
|
|
48
|
+
},
|
|
44
49
|
"./dist/style.css": {
|
|
45
50
|
"import": "dist/style.css",
|
|
46
51
|
"require": "dist/style.css"
|
|
52
|
+
},
|
|
53
|
+
"./hbis-search-input": {
|
|
54
|
+
"import": "dist/index.es.js",
|
|
55
|
+
"require": "dist/index.cjs.js",
|
|
56
|
+
"types": "dist/types/index.d.ts"
|
|
47
57
|
}
|
|
48
58
|
},
|
|
49
59
|
"peerDependencies": {
|