tailwind_dsl 0.0.31 → 0.0.32

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 997022f0d369f05f7a8f024e5d95fdfa4ef8f260d928bc5e8ba12b0cef13b8b1
4
- data.tar.gz: 1acdd5ce24924cef66297a22c57580b55d82a6f5a41f6276c73c6d246e6d9c8a
3
+ metadata.gz: 9025cf15ba76557110066103a8aa08316f6f49a1e45d5d12e9a46c1874aa3039
4
+ data.tar.gz: 8e4a351392d28eb6e5cf72f4dfdd62e7204bea2ce2d6a6129b02c05adec3cfe5
5
5
  SHA512:
6
- metadata.gz: d1250f3b3874aede08217247d1d48303abf645bf7d59d425a75aa84cf25ba8ea2b1c1e0ae6c4c802c900a07952c066a8f82bef336ba3d079f58fa5f74818d776
7
- data.tar.gz: 5a3b5c816a552e6892c0b36b97338dd5f2324f2d2f1634269712d1b8733350e3d332f5c883f8b2461ea6667d78fd18d83b54ec492b1139152639a8e52a4e1b10
6
+ metadata.gz: b44825c69209437c345b3aa636805418a3c6728ff395f5928006f9f3eb0a556e79222225b50246e3ecd49866e90a15d92c786e7c84c0130ceace9e2fdda9ad91
7
+ data.tar.gz: 6757841b4bc58b4169154561c4052e8dbbfb5bbf90931e21fcd181342a727e5ea9c2fb89f7ff25140e41a65d2dcdfa1473245f4a095de1cd81f2f00192c7a6a1
@@ -40,8 +40,9 @@ KManager.action :utilities do
40
40
  exclude_group_key: [
41
41
  'application_ui.application_shells.multi_column',
42
42
  'application_ui.application_shells.sidebar',
43
- 'application_ui.element.avatars',
44
- 'application_ui.element.badges'
43
+ 'application_ui.application_shells.stacked',
44
+ 'application_ui.component.element.avatars',
45
+ 'application_ui.component.element.badges'
45
46
  ]
46
47
  },
47
48
  extract_handler: TailwindDsl::Etl::Extractors::DataExtractor
@@ -0,0 +1,32 @@
1
+
2
+ {
3
+ "classes": [
4
+ {
5
+ "alias": "left",
6
+ "class": "relative inline-flex items-center rounded-l-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
7
+ },
8
+ {
9
+ "alias": "middle",
10
+ "class": "relative -ml-px inline-flex items-center border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
11
+ },
12
+ {
13
+ "alias": "right",
14
+ "class": "relative -ml-px inline-flex items-center rounded-r-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
15
+ }
16
+ ],
17
+ "type": "button-groups",
18
+ "buttons": [
19
+ {
20
+ "text": "Years",
21
+ "alias": "left"
22
+ },
23
+ {
24
+ "text": "Months",
25
+ "alias": "middle"
26
+ },
27
+ {
28
+ "text": "Days",
29
+ "alias": "right"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "type": "button-groups",
3
+ "buttons": [
4
+ {
5
+ "text": "Previous",
6
+ "icon": "chevron-left"
7
+ },
8
+ {
9
+ "text": "Next",
10
+ "icon": "chevron-right"
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "classes": [
3
+ {
4
+ "alias": "left",
5
+ "class": "relative inline-flex items-center rounded-l-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
6
+ },
7
+ {
8
+ "alias": "right",
9
+ "class": "relative -ml-px inline-flex items-center rounded-r-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
10
+ }
11
+ ],
12
+ "type": "button-groups",
13
+ "buttons": [
14
+ {
15
+ "alias": "left",
16
+ "text": "Bookmark",
17
+ "icon": "bookmark"
18
+ },
19
+ {
20
+ "alias": "right",
21
+ "text": "12k"
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "classes": [
3
+ {
4
+ "alias": "primary_button",
5
+ "class": "relative inline-flex items-center rounded-l-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
6
+ },
7
+ {
8
+ "alias": "dropdown_button",
9
+ "class": "relative inline-flex items-center rounded-r-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
10
+ },
11
+ {
12
+ "alias": "menu_item",
13
+ "class": "text-gray-700 block px-4 py-2 text-sm"
14
+ }
15
+ ],
16
+ "type": "button-groups",
17
+ "primary_button": {
18
+ "text": "Save changes",
19
+ "alias": "primary_button"
20
+ },
21
+ "dropdown_button": {
22
+ "sr_text": "Open options",
23
+ "alias": "dropdown_button",
24
+ },
25
+ "dropdown_menu": {
26
+ "items": [
27
+ {
28
+ "text": "Save and schedule",
29
+ "alias": "menu_item",
30
+ "href": "#"
31
+ },
32
+ {
33
+ "text": "Save and publish",
34
+ "alias": "menu_item",
35
+ "href": "#"
36
+ },
37
+ {
38
+ "text": "Export PDF",
39
+ "alias": "menu_item",
40
+ "href": "#"
41
+ }
42
+ ]
43
+ }
44
+ }
@@ -0,0 +1,15 @@
1
+
2
+ {
3
+ "classes": [
4
+ {
5
+ "alias": "dropdown_button",
6
+ "class": "-ml-px block w-full rounded-l-none rounded-r-md border border-gray-300 bg-white py-2 pl-3 pr-9 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
7
+ }
8
+ ],
9
+ "type": "button-groups",
10
+ "dropdown_options": [
11
+ "Unread messages",
12
+ "Sent messages",
13
+ "All messages"
14
+ ]
15
+ }
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "alias": "chevron-left",
4
+ "icon_path": "M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z"
5
+ },
6
+ {
7
+ "alias": "chevron-right",
8
+ "icon_path": "M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"
9
+ },
10
+ {
11
+ "alias": "bookmark",
12
+ "icon_path": "M10 1c-1.716 0-3.408.106-5.07.31C3.806 1.45 3 2.414 3 3.517V18.25a.75.75 0 001.075.676L10 16.082l5.925 2.844A.75.75 0 0017 18.25V3.517c0-1.103-.806-2.068-1.93-2.207A41.403 41.403 0 0010 1z"
13
+ }
14
+ ]
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.0.31](https://github.com/klueless-io/tailwind_dsl/compare/v0.0.30...v0.0.31) (2022-10-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add inclusion and exclusion filters for arrays ([06ee1d1](https://github.com/klueless-io/tailwind_dsl/commit/06ee1d19ac9f5a71cafcfa618bd307363a9dd5ab))
7
+
1
8
  ## [0.0.30](https://github.com/klueless-io/tailwind_dsl/compare/v0.0.29...v0.0.30) (2022-10-26)
2
9
 
3
10
 
@@ -15,7 +15,7 @@ module TailwindDsl
15
15
  def extract
16
16
  builder = Gpt3::Builder::Gpt3Builder.init
17
17
 
18
- tokens = 250
18
+ tokens = 700
19
19
 
20
20
  source_file = component.absolute.target_clean_html_file
21
21
  source = File.read(source_file)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TailwindDsl
4
- VERSION = '0.0.31'
4
+ VERSION = '0.0.32'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "tailwind_dsl",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "tailwind_dsl",
9
- "version": "0.0.31",
9
+ "version": "0.0.32",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.1",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwind_dsl",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "description": "Tailwind DSL will build tailwind websites useing Domain Specific Language conventions",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwind_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -128,7 +128,6 @@ files:
128
128
  - ".components/tui/application-ui/application-shells/sidebar/08.html"
129
129
  - ".components/tui/application-ui/application-shells/sidebar/08.settings.json"
130
130
  - ".components/tui/application-ui/application-shells/stacked/01.clean.html"
131
- - ".components/tui/application-ui/application-shells/stacked/01.data.json"
132
131
  - ".components/tui/application-ui/application-shells/stacked/01.html"
133
132
  - ".components/tui/application-ui/application-shells/stacked/01.settings.json"
134
133
  - ".components/tui/application-ui/application-shells/stacked/02.clean.html"
@@ -212,18 +211,23 @@ files:
212
211
  - ".components/tui/application-ui/component/element/badges/07.html"
213
212
  - ".components/tui/application-ui/component/element/badges/07.settings.json"
214
213
  - ".components/tui/application-ui/component/element/button-groups/01.clean.html"
214
+ - ".components/tui/application-ui/component/element/button-groups/01.data.json"
215
215
  - ".components/tui/application-ui/component/element/button-groups/01.html"
216
216
  - ".components/tui/application-ui/component/element/button-groups/01.settings.json"
217
217
  - ".components/tui/application-ui/component/element/button-groups/02.clean.html"
218
+ - ".components/tui/application-ui/component/element/button-groups/02.data.json"
218
219
  - ".components/tui/application-ui/component/element/button-groups/02.html"
219
220
  - ".components/tui/application-ui/component/element/button-groups/02.settings.json"
220
221
  - ".components/tui/application-ui/component/element/button-groups/03.clean.html"
222
+ - ".components/tui/application-ui/component/element/button-groups/03.data.json"
221
223
  - ".components/tui/application-ui/component/element/button-groups/03.html"
222
224
  - ".components/tui/application-ui/component/element/button-groups/03.settings.json"
223
225
  - ".components/tui/application-ui/component/element/button-groups/04.clean.html"
226
+ - ".components/tui/application-ui/component/element/button-groups/04.data.json"
224
227
  - ".components/tui/application-ui/component/element/button-groups/04.html"
225
228
  - ".components/tui/application-ui/component/element/button-groups/04.settings.json"
226
229
  - ".components/tui/application-ui/component/element/button-groups/05.clean.html"
230
+ - ".components/tui/application-ui/component/element/button-groups/05.data.json"
227
231
  - ".components/tui/application-ui/component/element/button-groups/05.html"
228
232
  - ".components/tui/application-ui/component/element/button-groups/05.settings.json"
229
233
  - ".components/tui/application-ui/component/element/button-groups/05.tailwind.config.js"
@@ -1683,6 +1687,7 @@ files:
1683
1687
  - ".components/tui/ecommerce/page/store-front-pages/04.html"
1684
1688
  - ".components/tui/ecommerce/page/store-front-pages/04.settings.json"
1685
1689
  - ".components/tui/ecommerce/page/store-front-pages/04.tailwind.config.js"
1690
+ - ".components/tui/icons.data.json"
1686
1691
  - ".components/tui/marketing/element/banner/01.clean.html"
1687
1692
  - ".components/tui/marketing/element/banner/01.html"
1688
1693
  - ".components/tui/marketing/element/banner/01.settings.json"
@@ -1,31 +0,0 @@
1
-
2
- {
3
- "nav": {
4
- "logo": "https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600",
5
- "links": [
6
- {
7
- "text": "Dashboard",
8
- "url": "#",
9
- "active": true
10
- },
11
- {
12
- "text": "Team",
13
- "url": "#"
14
- },
15
- {
16
- "text": "Projects",
17
- "url": "#"
18
- },
19
- {
20
- "text": "Calendar",
21
- "url": "#"
22
- }
23
- ],
24
- "notifications": {
25
- "url": "#",
26
- "icon": "https://www.w3.org/2000/svg",
27
- "icon_viewbox": "0 0 24 24",
28
- "icon_stroke_width": "1.5",
29
- "icon_stroke": "currentColor",
30
- "icon_aria_hidden": true,
31
- "icon_path": "M14.857 17.082a23.8