@massimo-cassandro/minimo 0.10.10 → 0.10.11

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": "@massimo-cassandro/minimo",
3
- "version": "0.10.10",
3
+ "version": "0.10.11",
4
4
  "description": "Light css framework & utilities",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/massimo-cassandro/minimo#readme",
@@ -19,8 +19,8 @@
19
19
  "UPD-version": "npx update-version # --config=./dev-utilities.config.mjs",
20
20
  "upd@m": "npx upd@m",
21
21
  "npm-publish": "npm publish",
22
- "webpack DEMO": "NODE_ENV=development webpack serve --config ./demo-src/_src/webpack.config.mjs",
23
- "webpack DEMO build": "NODE_ENV=production webpack --config ./demo-src/_src/webpack.config.mjs",
22
+ "webpack DEMO": "NODE_ENV=development webpack serve --config ./demo-src/webpack.config.mjs",
23
+ "webpack DEMO build": "NODE_ENV=production webpack --config ./demo-src/webpack.config.mjs",
24
24
  "build-tokens": "node ./design-tokens-utilities/build-tokens.mjs --config ./tokens-config.mjs",
25
25
  "check unresolved props": "node ./design-tokens-utilities/check-unresolved-custom-props.mjs --config ./tokens-config.mjs"
26
26
  },
@@ -1,5 +1,5 @@
1
1
  import { domBuilder, classnames } from '../../../index.js';
2
- import * as styles from './core.module.css';
2
+ import * as styles from './snackbar.module.css';
3
3
 
4
4
  /*
5
5
  References
@@ -45,9 +45,9 @@ export function snackbar(message, options = {}){
45
45
  type: 'button',
46
46
  },
47
47
  className: classnames('btn-reset', styles.action),
48
- content: options.action_text?? '_actions_',
48
+ content: options.action_text?? '_action-text_',
49
49
  condition: options.action && (typeof options.action === 'function'),
50
- callback: el => {}
50
+ // callback: el => {}
51
51
  },
52
52
  {
53
53
  tag: 'button',
@@ -4,6 +4,11 @@
4
4
 
5
5
  }
6
6
 
7
+ .text {}
8
+ .action {}
9
+ .closeBtn {}
10
+
11
+
7
12
  /* purgecss end ignore */
8
13
 
9
14
 
package/src/minimo.css CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
- /* @import '@app/fonts.css'; */
3
- /* @import '@app/css/custom-media.css'; */ /* managed by postcss */
4
- @import '@app/css/custom-properties.css';
2
+ /* @import '@src/fonts.css'; */
3
+ /* @import '@src/css/custom-media.css'; */ /* managed by postcss */
4
+ @import '@src/custom-properties.css';
5
5
 
6
6
  @import '@minimo/css/reset.css';
7
7
  @import '@minimo/css/layout-base.css';