@gitlab/ui 117.0.0 → 117.0.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "117.0.
|
|
3
|
+
"version": "117.0.1",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "NODE_ENV=production rollup -c",
|
|
37
|
-
"prebuild": "
|
|
37
|
+
"prebuild": "yarn build-tokens && yarn build-migration-script",
|
|
38
38
|
"copy-fonts": "make copy-fonts",
|
|
39
39
|
"build-tokens": "make tokens",
|
|
40
40
|
"build-migration-script": "esbuild --bundle --platform=node --target=esnext --outfile=bin/migrate_custom_utils_to_tw.bundled.mjs --format=esm --banner:js=\"import { createRequire as __gl__createRequire } from 'node:module'; const require = __gl__createRequire(import.meta.url);\" bin/migrate_custom_utils_to_tw.mjs",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"start": "yarn storybook",
|
|
45
45
|
"storybook": "yarn storybook:prepare && storybook dev --ci --host ${STORYBOOK_HOST:-localhost} --port ${STORYBOOK_PORT:-9001} -c .storybook",
|
|
46
46
|
"storybook-vue3": "yarn storybook:prepare && VUE_VERSION=3 storybook dev --ci --host ${STORYBOOK_HOST:-localhost} --port ${STORYBOOK_PORT:-9001} -c .storybook",
|
|
47
|
-
"storybook:prepare": "
|
|
47
|
+
"storybook:prepare": "yarn copy-fonts && yarn build-tokens",
|
|
48
48
|
"storybook:build:prod": "yarn storybook:prepare && storybook build -c .storybook -o storybook",
|
|
49
49
|
"storybook:build:test": "yarn storybook:prepare && IS_VISUAL_TEST=true NODE_ENV=test storybook build --test -c .storybook -o storybook",
|
|
50
50
|
"storybook:run": "npx http-server -bgs -p ${STORYBOOK_PORT:-9001} ./storybook",
|
|
51
51
|
"pretest:unit": "yarn build-tokens",
|
|
52
|
-
"test": "
|
|
52
|
+
"test": "yarn test:unit && yarn test:visual",
|
|
53
53
|
"test:integration": "yarn run test:integration:server 'yarn cy:run && yarn cy:edge'",
|
|
54
54
|
"test:integration:server": "NODE_ENV=test start-test storybook:run http-get://${STORYBOOK_HOST:-localhost}:${STORYBOOK_PORT:-9001}/iframe.html",
|
|
55
55
|
"test:unit": "NODE_ENV=test jest",
|
|
@@ -150,7 +150,6 @@
|
|
|
150
150
|
"merge-cobertura": "^1.0.4",
|
|
151
151
|
"mockdate": "^3.0.5",
|
|
152
152
|
"module-alias": "^2.2.3",
|
|
153
|
-
"npm-run-all": "^4.1.5",
|
|
154
153
|
"pikaday": "^1.8.0",
|
|
155
154
|
"playwright": "^1.54.2",
|
|
156
155
|
"playwright-core": "^1.54.2",
|
package/src/scss/typography.scss
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
The component represents a badge to mark experiment and beta features.
|
|
2
|
-
It comes with a popover that explains what experiment or beta means, and links
|
|
3
|
-
to [Support for features in different stages of development](https://docs.gitlab.com/ee/policy/development_stages_support.html)
|
|
4
|
-
for more information.
|
|
5
|
-
|
|
6
|
-
## Usage
|
|
7
|
-
|
|
8
|
-
```html
|
|
9
|
-
<gl-experiment-badge popover-placement="bottom" type="beta" />
|
|
10
|
-
```
|