@uva-glass/component-library 3.17.2 → 3.17.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
._overlay-step-
|
|
1
|
+
._overlay-step-bar__container_1l3x3_1{align-items:center;background-color:var(--color-grey-50);display:flex;height:2.5rem;justify-content:center;overflow-y:hidden}._overlay-step-bar__step-wrapper_1l3x3_10{background-color:var(--color-grey-50);height:100%;position:relative}._overlay-step-bar__step-wrapper_1l3x3_10:not(:last-child):after{border-bottom:1.5rem solid transparent;border-left:1rem solid var(--color-grey-50);border-top:1.5rem solid transparent;content:"";position:absolute;right:-.25rem;top:-.25rem;z-index:10}._overlay-step-bar__step-wrapper_1l3x3_10:not(:last-child):before{border-bottom:1.5rem solid transparent;border-left:1rem solid var(--color-white);border-top:1.5rem solid transparent;content:"";position:absolute;right:-.5rem;top:-.25rem;z-index:5}._overlay-step-bar__step_1l3x3_10{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--color-grey-500);cursor:pointer;display:flex;font-family:inherit;font-size:var(--font-size-default);gap:.5rem;height:100%;margin-left:.5rem;padding:0 2rem 0 1.5rem;position:relative;width:calc(100% - .75rem)}._overlay-step-bar__step--label_1l3x3_56{display:none;text-decoration:none;white-space:nowrap}._overlay-step-bar__step_1l3x3_10:hover ._overlay-step-bar__step--index_1l3x3_62,._overlay-step-bar__step_1l3x3_10:hover ._overlay-step-bar__step--label_1l3x3_56{text-decoration:underline}@media (min-width: 70rem){._overlay-step-bar__step--label_1l3x3_56{display:block}._overlay-step-bar__step_1l3x3_10:hover ._overlay-step-bar__step--index_1l3x3_62{text-decoration:none}}._overlay-step-bar__step_1l3x3_10:focus-visible{outline:.125rem dotted var(--color-cobalt);outline-offset:-.25rem;z-index:15}._overlay-step-bar__step--label_1l3x3_56:hover{text-decoration:underline}._overlay-step-bar__step--active_1l3x3_87{color:var(--color-black);font-weight:var(--semibold)}._overlay-step-bar__step--active_1l3x3_87 ._overlay-step-bar__step--label_1l3x3_56{display:block}._overlay-step-bar__step--active_1l3x3_87:hover ._overlay-step-bar__step--index_1l3x3_62,._overlay-step-bar__step--active_1l3x3_87:hover ._overlay-step-bar__step--label_1l3x3_56{cursor:default;text-decoration:none}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as s, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { c as o } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import '../../assets/OverlayStepBar.css';const r = {
|
|
4
|
-
"overlay-step-bar__container": "_overlay-step-
|
|
5
|
-
"overlay-step-bar__step-wrapper": "_overlay-step-bar__step-
|
|
6
|
-
"overlay-step-bar__step": "_overlay-step-
|
|
7
|
-
"overlay-step-bar__step--label": "_overlay-step-bar__step--
|
|
8
|
-
"overlay-step-bar__step--index": "_overlay-step-bar__step--
|
|
9
|
-
"overlay-step-bar__step--active": "_overlay-step-bar__step--
|
|
4
|
+
"overlay-step-bar__container": "_overlay-step-bar__container_1l3x3_1",
|
|
5
|
+
"overlay-step-bar__step-wrapper": "_overlay-step-bar__step-wrapper_1l3x3_10",
|
|
6
|
+
"overlay-step-bar__step": "_overlay-step-bar__step_1l3x3_10",
|
|
7
|
+
"overlay-step-bar__step--label": "_overlay-step-bar__step--label_1l3x3_56",
|
|
8
|
+
"overlay-step-bar__step--index": "_overlay-step-bar__step--index_1l3x3_62",
|
|
9
|
+
"overlay-step-bar__step--active": "_overlay-step-bar__step--active_1l3x3_87"
|
|
10
10
|
}, v = ({ stepLabels: _, activeStep: a = 0, onStepClick: t }) => (a > _.length && console.error("activeStep is greater than the number of steps"), /* @__PURE__ */ s("div", { className: r["overlay-step-bar__container"], children: _.length && _.map((p, e) => /* @__PURE__ */ s("span", { className: r["overlay-step-bar__step-wrapper"], children: /* @__PURE__ */ l(
|
|
11
11
|
"button",
|
|
12
12
|
{
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uva-glass/component-library",
|
|
3
3
|
"author": "Team Glass - Frontend vrienden",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "3.17.
|
|
5
|
+
"version": "3.17.3",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"lexical": "^0.31.0"
|
|
113
113
|
},
|
|
114
114
|
"optionalDependencies": {
|
|
115
|
-
"@rollup/rollup-linux-x64-gnu": "^4.40.
|
|
115
|
+
"@rollup/rollup-linux-x64-gnu": "^4.40.2",
|
|
116
116
|
"@rspack/binding-darwin-arm64": "1.3.8",
|
|
117
117
|
"@rspack/binding-linux-x64-gnu": "1.3.8",
|
|
118
118
|
"@ast-grep/napi-linux-x64-gnu": "0.37.0"
|