@ulu/frontend 0.1.0-beta.0 → 0.1.0-beta.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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Change Log
2
2
 
3
+ ## Version 0.1.0-beta.1
4
+
5
+ - Remove dev dependencies from package json (vite, autoprefixer) and move specific JS module dependencies (ie. floating ui, ally.js and aria-tablist) to optionalDependencies so they can be installed if the user is using modules that require them
6
+
7
+ ## Version 0.1.0-beta.0
8
+
9
+ - Minor release keeps most of the current API for SASS the same but adds new functions/mixins and components. JS has been slightly reorganized and outdated modules have been replaced
10
+ - Remove calculate module and move the functions to utils (responsive property and pixel-to-em)
11
+ - Add other components modules
12
+ - Update documentation and API documentation
13
+ - Update all sass to work with new/future sass version
14
+ - Add root styles for ulu specific custom properties
15
+ - Add transitions to buttons
16
+ - JS remove mini collapsible and rely on floating ui library for tooltip/popovers
17
+ - JS move to native dialog element instead of micro-modal
18
+ - JS add new collapsible class for popovers or other accessible collapsible containers
19
+ - JS reorganize utils and helpers
20
+ - Create new docs website with api docs and component examples
21
+ - Full build (ie. /dist/) is bundled by Vite
22
+
3
23
  ## Version 0.0.23
4
24
 
5
25
  - Fix mistake introduced in 0.0.22, that broke container css
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.1",
4
4
  "description": "Modular Sass Theming Library",
5
5
  "browser": "js/index.js",
6
6
  "main": "index.js",
@@ -78,16 +78,15 @@
78
78
  "sharp": "^0.33.4",
79
79
  "svgo": "^3.3.2",
80
80
  "typescript": "^5.3.3",
81
- "vitepress": "^1.0.0-rc.27"
82
- },
83
- "dependencies": {
84
- "@floating-ui/dom": "^1.6.5",
85
- "@ulu/utils": "^0.0.17",
86
- "aria-tablist": "^1.2.2",
87
81
  "autoprefixer": "^10.4.16",
88
82
  "vite": "^5.4.11"
89
83
  },
84
+ "dependencies": {
85
+ "@ulu/utils": "^0.0.17"
86
+ },
90
87
  "optionalDependencies": {
91
- "ally.js": "^1.4.1"
88
+ "ally.js": "^1.4.1",
89
+ "aria-tablist": "^1.2.2",
90
+ "@floating-ui/dom": "^1.6.5"
92
91
  }
93
92
  }
@@ -31,7 +31,7 @@
31
31
  /// @prop {Dimension} button-font-size-small [false] Currently unused @joe-check
32
32
  /// @prop {Dimension} button-icon-offset-x [false] Offsets the control icons in from their respective sides. @joe-check
33
33
  /// @prop {Dimension} button-icon-offset-y [false] Offsets the control options down by adding a margin.
34
- /// @prop {Dimension} button-margin [0.75rem] The margin between the controls and the slide content when using .slide-gap-for-controls
34
+ /// @prop {Dimension} button-margin [0.75rem] The margin between the controls and the slide content when using .slider__slide-gap-for-controls
35
35
  /// @prop {Dimension} button-margin-small [0.75rem] Currently commented out @joe-check
36
36
  /// @prop {Dimension} button-size [3rem] Size of the button. Likely antiquated and replaced with button-width and button-height
37
37
  /// @prop {Dimension} button-size-small [false] Currently commented out @joe-check
@@ -193,7 +193,7 @@ $config: (
193
193
  padding: get("padding-top") $slide-padding-x get("padding-bottom") $slide-padding-x;
194
194
  }
195
195
  }
196
- .slide-gap-for-controls {
196
+ #{ $prefix }__slide-gap-for-controls {
197
197
  $padding: get("button-width") + get("button-margin");
198
198
  padding-left: $padding;
199
199
  padding-right: $padding;
@@ -215,7 +215,7 @@ $config: (
215
215
  }
216
216
  }
217
217
  #{ $prefix }--inset-controls {
218
- .slide-gap-for-controls {
218
+ #{ $prefix }__slide-gap-for-controls {
219
219
  $padding: get("button-width") + get("button-margin") + get("button-icon-offset-x");
220
220
  padding-left: $padding;
221
221
  padding-right: $padding;
@@ -23,6 +23,20 @@ $-fallbacks: (
23
23
 
24
24
  /// Module Settings
25
25
  /// @type Map
26
+ /// @prop {CssValue} font-weight [normal] Font weight for the tag text.
27
+ /// @prop {String} font-family [true] Font family for the tag text.
28
+ /// @prop {CssValue} box-shadow [none] Box shadow for the tag.
29
+ /// @prop {Dimension} padding [(0.4em 0.75em)] Inner padding for the tag.
30
+ /// @prop {CssValue} vertical-align [baseline] Vertical alignment of tag text.
31
+ /// @prop {Dimension} margin-between [0.5em] Margin between tags.
32
+ /// @prop {Dimension} margin-between-tags [0] @joe-check
33
+ /// @prop {Number} line-height [1] Line height for the tag text.
34
+ /// @prop {String} type-size ["small"] Font size for the tag text.
35
+ /// @prop {Color} background-color [#eaeaea] Background color of the tag.
36
+ /// @prop {Dimension} border-radius [1.25em] Border radius of the tag.
37
+ /// @prop {Color} border-color [transparent] Border color for the tag.
38
+ /// @prop {Dimension} border-width [1px] Border width of the tag.
39
+ /// @prop {String} color ["type-tertiary"] Color of the tag text.
26
40
 
27
41
  $config: (
28
42
  "font-weight" : normal,