@ostack.tech/ui 0.1.1 → 0.1.2

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.
@@ -18,7 +18,7 @@ export interface StackProps extends React.ComponentPropsWithoutRef<"div"> {
18
18
  direction?: Responsive<FlexDirection>;
19
19
  /**
20
20
  * Spacing between items. When a number is provided, each unit corresponds to
21
- * `var(--oui-space)`.
21
+ * `var(--o-ui-space)`.
22
22
  *
23
23
  * @default 5
24
24
  */
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
2
  /** Default library prefix. */
3
- export declare const DEFAULT_PREFIX = "oui-";
3
+ export declare const DEFAULT_PREFIX = "o-ui-";
4
4
  /** Prefix context. */
5
5
  export declare const PrefixContext: React.Context<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ostack.tech/ui",
3
3
  "description": "ostack/UI component library.",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "homepage": "https://ui.ostack.tech/",
6
6
  "author": {
7
7
  "name": "Opensoft",
@@ -32,15 +32,15 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "files": [
35
- "dist",
36
- "scss"
35
+ "dist/",
36
+ "scss/"
37
37
  ],
38
38
  "scripts": {
39
- "clean": "rimraf dist scss",
39
+ "clean": "rimraf dist/ scss/",
40
40
  "build": "npm run build:js && npm run build:css",
41
41
  "build:js": "vite build && tsc -b tsconfig.build.json",
42
- "build:css": "npm run copy-scss && sass -I ../../node_modules scss/index.scss dist/ostack-ui.css",
43
- "copy-scss": "cpy 'src/**/*.scss' '!src/**/*.stories.scss' scss"
42
+ "build:css": "npm run copy-scss && sass -I ../../node_modules/ scss/index.scss dist/ostack-ui.css",
43
+ "copy-scss": "cpy 'src/**/*.scss' '!src/**/*.stories.scss' scss/"
44
44
  },
45
45
  "dependencies": {
46
46
  "@fortawesome/react-fontawesome": "^3.1.0",
@@ -1,7 +1,7 @@
1
1
  @use "colors" as *;
2
2
 
3
3
  // Library's prefix
4
- $prefix: oui- !default;
4
+ $prefix: o-ui- !default;
5
5
 
6
6
  // Colours
7
7
  $background-color: #fff !default;