satis 2.1.33 → 2.1.36

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bed69646db25ebb07b77d770965f6526f069ebf188154224b2810281223bf48
4
- data.tar.gz: eb130f1feadb5eb93ce7c37f191fc47e45772b7ad09de958d97161d4c7a1daff
3
+ metadata.gz: e57b3ca2bd2eb32edf6fe54e6debf993e024e2cfa2d7fad5700b64404032d4d0
4
+ data.tar.gz: a6a7c44464d82b470a7a3b840174c15cab9ae2b8f864aa4e99ca2ab27f66b6a1
5
5
  SHA512:
6
- metadata.gz: c518b40362fb31cc85f536064b6f496366e656af01b22a1f44fa9129ecb272ca865fb88ea82cf4ca4c66c714476140927d8758ea5e34ae8b511a25f17722786a
7
- data.tar.gz: c2cb674c406557ee174dd69f2268db7449c20d6422b649d3aa93a321ea2fc7c99029559df0b3b04fcb50892e6caba055e018a0f9a9d4934ef623c5849f884aee
6
+ metadata.gz: 25d1da89ea7ffaf293e329cc048b7e6481edf66303ecde17ba0b707b16879e9553009a02d5227cdc2f591c37eddf4855f9e08c559e67f48848cda75afd307896
7
+ data.tar.gz: f7de5d36ddabde0f447d7ef812021ad4744f0724727eb21d7ce753973893f8edd36a03e5b287a94db7ccb6ff256a5e98c49db9d59ad040ce1c948c66c64eb78a
@@ -1,25 +1,25 @@
1
1
  /* Allow buttons outside forms */
2
2
  .button {
3
- @apply mt-2 inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-500 shadow-sm text-sm font-medium rounded-md text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
3
+ @apply mt-2 inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-500 shadow-sm text-sm font-medium rounded-md text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
4
4
 
5
5
  &.primary {
6
- @apply inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
6
+ @apply inline-flex items-center px-4 py-2 border border-transparent dark:border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
7
7
  }
8
8
 
9
9
  &.secondary {
10
- @apply inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-primary-700 bg-primary-200 hover:bg-primary-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
10
+ @apply inline-flex items-center px-4 py-2 border border-transparent dark:border-transparent text-sm font-medium rounded-md text-primary-700 bg-primary-200 hover:bg-primary-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
11
11
  }
12
12
 
13
13
  &.destructive {
14
- @apply inline-flex items-center px-4 py-2 border border-red-300 dark:border-red-500 text-sm font-medium rounded-md text-red-700 dark:text-red-500 bg-white dark:bg-gray-800 hover:bg-red-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500;
14
+ @apply inline-flex items-center px-4 py-2 border border-red-300 dark:border-red-500 text-sm font-medium rounded-md text-red-700 dark:text-red-500 bg-white dark:bg-gray-800 hover:bg-red-200 dark:hover:bg-red-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500;
15
15
  }
16
16
 
17
17
  &.warning {
18
- @apply inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-yellow-300 bg-yellow-100 hover:bg-yellow-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-yellow-500;
18
+ @apply inline-flex items-center px-4 py-2 border border-transparent dark:border-transparent text-sm font-medium rounded-md text-yellow-300 bg-yellow-100 hover:bg-yellow-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-yellow-500;
19
19
  }
20
20
 
21
21
  &.harmful {
22
- @apply inline-flex items-center px-4 py-2 border border-transparent text-sm font-semibold rounded-md bg-red-600 text-white shadow-sm hover:bg-red-500;
22
+ @apply inline-flex items-center px-4 py-2 border border-transparent dark:border-transparent text-sm font-semibold rounded-md bg-red-600 text-white shadow-sm hover:bg-red-500;
23
23
  }
24
24
  }
25
25
 
@@ -36,19 +36,19 @@ form {
36
36
 
37
37
  input.form-control,
38
38
  select.form-control {
39
- @apply rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
39
+ @apply rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:drop-shadow dark:border-none;
40
40
  }
41
41
 
42
42
  textarea.form-control {
43
- @apply rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
43
+ @apply rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:drop-shadow dark:border-none;
44
44
  }
45
45
 
46
46
  .form-select {
47
- @apply rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
47
+ @apply rounded w-full py-2 px-3 h-12 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:drop-shadow dark:border-none;
48
48
  }
49
49
 
50
50
  .form-multiselect {
51
- @apply rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:bg-gray-900 dark:drop-shadow dark:border-none;
51
+ @apply rounded w-full py-2 px-3 text-gray-800 dark:text-gray-300 leading-tight border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:drop-shadow dark:border-none;
52
52
  }
53
53
 
54
54
  .custom-select {
@@ -61,15 +61,15 @@ form {
61
61
 
62
62
  input.is-invalid,
63
63
  select.is-invalid {
64
- @apply border-red-300 text-red-900 placeholder-red-300 focus:outline-none focus:ring-red-500 focus:border-red-500;
64
+ @apply border-red-300 dark:border-red-500 text-red-900 placeholder-red-300 focus:outline-none focus:ring-red-500 focus:border-red-500;
65
65
  }
66
66
 
67
67
  input[type="checkbox"].custom-control-input {
68
- @apply border-gray-300 dark:bg-gray-800 rounded;
68
+ @apply border-gray-300 dark:border-gray-700 dark:bg-gray-800 rounded;
69
69
  margin-right: 0.5rem;
70
70
 
71
71
  &:checked {
72
- @apply border border-primary-600 bg-primary-600;
72
+ @apply border border-primary-600 dark:border-primary-600 bg-primary-600;
73
73
  }
74
74
  }
75
75
 
@@ -80,16 +80,16 @@ form {
80
80
  }
81
81
 
82
82
  input[type="radio"].custom-control-input {
83
- @apply border-gray-300 dark:bg-gray-800;
83
+ @apply border-gray-300 dark:border-gray-700 dark:bg-gray-800;
84
84
  margin-right: 0.5rem;
85
85
 
86
86
  &:checked {
87
- @apply border border-primary-900 bg-primary-900;
87
+ @apply border border-primary-900 dark:border-primary-900 bg-primary-900;
88
88
  }
89
89
  }
90
90
 
91
91
  .editor {
92
- @apply h-32 border border-gray-300 dark:bg-gray-800 rounded overflow-hidden;
92
+ @apply h-32 border border-gray-300 dark:border-gray-700 dark:bg-gray-800 rounded overflow-hidden;
93
93
 
94
94
  .CodeMirror-wrap {
95
95
  border-top-right-radius: 3px;
@@ -107,30 +107,30 @@ form {
107
107
  }
108
108
 
109
109
  &.is-invalid {
110
- @apply border-red-300 text-red-900 placeholder-red-300 focus:outline-none focus:ring-red-500 focus:border-red-500;
110
+ @apply border-red-300 dark:border-red-500 text-red-900 placeholder-red-300 focus:outline-none focus:ring-red-500 focus:border-red-500;
111
111
  }
112
112
  }
113
113
 
114
114
  trix-editor {
115
- @apply border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
115
+ @apply border border-gray-300 dark:border-gray-700 rounded focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500;
116
116
  }
117
117
 
118
118
  .fields_for {
119
119
  @apply dark:bg-gray-800;
120
120
  .field-for-bg{
121
121
  @apply dark:bg-gray-800;
122
- .template {
123
- @apply dark:bg-gray-800;
124
- .fields {
125
- @apply opacity-50 dark:bg-gray-800;
126
- }
127
- &:hover {
122
+ .template {
123
+ @apply dark:bg-gray-800;
128
124
  .fields {
129
- @apply opacity-100;
125
+ @apply opacity-50 dark:bg-gray-800;
126
+ }
127
+ &:hover {
128
+ .fields {
129
+ @apply opacity-100;
130
+ }
130
131
  }
131
132
  }
132
133
  }
133
- }
134
134
  }
135
135
 
136
136
  .form-text {
@@ -156,6 +156,21 @@ form {
156
156
  border-bottom: 1px dashed #e5e7eb;
157
157
  }
158
158
 
159
+ .background{
160
+ @apply dark:bg-gray-800 dark:text-gray-50;
161
+ }
162
+
163
+ .flow-step-item{
164
+ @apply dark:bg-gray-800 dark:text-gray-50 rounded-lg;
165
+ }
166
+ ul.flow-steps{
167
+ border: none;
168
+ }
169
+
170
+ .flow-step-short{
171
+ @apply dark:border-gray-50;
172
+ }
173
+
159
174
  .nested-fields_action {
160
175
  @apply bg-white dark:bg-gray-800;
161
176
  margin-left: -1rem;
@@ -232,6 +232,15 @@ trix-toolbar .trix-button--dialog {
232
232
  trix-toolbar .trix-dialog--link {
233
233
  max-width: 600px; }
234
234
 
235
+ div.trix-dialog.trix-dialog--link{
236
+ display: none;
237
+ }
238
+
239
+ div.trix-dialog.trix-dialog--link.trix-active{
240
+ display: block;
241
+ }
242
+
243
+
235
244
  trix-toolbar .trix-dialog__link-fields {
236
245
  display: flex;
237
246
  align-items: baseline; }
@@ -6,17 +6,13 @@
6
6
  }
7
7
 
8
8
  &__tabs {
9
- @apply bg-white px-4 border-b border-gray-200 sm:px-5 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-300;
9
+ @apply bg-white px-4 border-b border-gray-200 sm:px-5 dark:bg-gray-900 dark:border-gray-700 dark:text-gray-300;
10
10
 
11
11
  a:first {
12
12
  @apply ml-4;
13
13
  }
14
14
  }
15
15
 
16
- .sts-card__header{
17
- @apply dark:bg-gray-900 dark:bg-opacity-50;
18
- }
19
-
20
16
  a.tab:not(.selected) {
21
17
  @apply dark:text-gray-300;
22
18
  }
@@ -1,3 +1,14 @@
1
1
  .sts-editor {
2
2
  @apply bg-white h-full sm:rounded-lg sm:shadow dark:bg-gray-800 overflow-hidden;
3
+ }
4
+
5
+ .cm-editor{
6
+ @apply dark:bg-gray-900 dark:border dark:border-opacity-25 dark:border-gray-50 ;
7
+ }
8
+
9
+ .cm-editor .cm-gutter{
10
+ @apply dark:bg-gray-700 dark:text-white dark:border-none;
11
+ }
12
+ .cm-activeLineGutter{
13
+ @apply dark:text-black;
3
14
  }
@@ -11,8 +11,10 @@
11
11
  opacity: 0.99;
12
12
  overflow: auto;
13
13
  z-index: 2;
14
-
15
-
14
+ }
15
+ .ui-flash-container{
16
+ @apply dark:bg-emerald-500 dark:bg-opacity-25 dark:text-gray-300 dark:shadow-md dark:border-t-0;
17
+ margin-top: -7px;
16
18
  }
17
19
 
18
20
  .h-screen.flex .page_bg .topbar .account-name {
@@ -44,4 +46,10 @@
44
46
 
45
47
  }
46
48
 
49
+ .dark .page_body {
50
+ background: rgb(17, 24, 39);
51
+ }
52
+
53
+
54
+
47
55
 
@@ -18,5 +18,5 @@ html lang="en"
18
18
  .mt-4
19
19
  .max-w.mx-auto.px-4.sm:px-4.md:px-4
20
20
  = body
21
- .sidebar
22
- == sidebar
21
+ .sidebar
22
+ == sidebar
@@ -1 +1,2 @@
1
- = render(Satis::SidebarMenuItem::Component.with_collection(@menu.items, menu_options: menu_options))
1
+ .sidebarmenu
2
+ = render(Satis::SidebarMenuItem::Component.with_collection(@menu.items, menu_options: menu_options))
@@ -39,7 +39,8 @@
39
39
  display: none;
40
40
  }
41
41
 
42
- .sidebar.close .sts-sidebar-menu-item > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item{
42
+
43
+ .sidebar.close .sts-sidebar-menu-item [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item{
43
44
  display: none;
44
45
  visibility: hidden;
45
46
  opacity: 0;
@@ -58,41 +59,58 @@
58
59
  opacity: 0;
59
60
  }
60
61
 
61
- .h-screen.flex .sidebar.close .icon-link > .sts-sidebar-menu-item:hover:not(:has([data-satis-sidebar-menu-item-target="submenu"])) .sts-sidebar-menu-item__label {
62
- @apply rounded-md bg-white dark:bg-gray-900 shadow-md py-2;
62
+ .sidebar.close .icon-link > .sts-sidebar-menu-item:hover:not(:has([data-satis-sidebar-menu-item-target="submenu"])) .sts-sidebar-menu-item__label {
63
+ @apply rounded-md bg-gray-50 dark:bg-gray-800 shadow-md py-2;
64
+ text-decoration-thickness: 2px;
63
65
  display: block;
64
- position: fixed;
66
+ position: absolute;
65
67
  padding-right: 20px;
66
68
  padding-left: 20px;
67
- margin-left: 25px;
69
+ margin-left: 40px;
68
70
  }
69
71
 
70
- .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] {
72
+ .sidebar.close .icon-link > .sts-sidebar-menu-item:has([data-satis-sidebar-menu-item-target="submenu"]):hover > .sts-sidebar-menu-item__link > .sts-sidebar-menu-item__label {
73
+ @apply rounded-md bg-gray-50 dark:bg-gray-800 shadow-md py-2;
74
+ text-decoration-thickness: 2px;
75
+ display: block;
76
+ position: absolute;
77
+ padding-right: 20px;
78
+ padding-left: 20px;
79
+ margin-left: 40px;
80
+ margin-top: -75px;
81
+ }
82
+
83
+ .sidebar.close .icon-link > .sts-sidebar-menu-item:has([data-satis-sidebar-menu-item-target="submenu"]):last-child:hover > .sts-sidebar-menu-item__link > .sts-sidebar-menu-item__label {
84
+ margin-top: -840px;
85
+ margin-left: 70px;
86
+ }
87
+
88
+ .fontawesome-i2svg-active .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] {
71
89
  @apply rounded-md bg-white dark:bg-gray-900 py-0 px-0 shadow-lg;
72
90
  display: block;
73
91
  visibility: visible;
74
92
  opacity: 1;
75
- position: fixed;
93
+ position: absolute;
76
94
  padding-right: 20px;
77
- margin-left: 35px;
78
- margin-top: -90px;
95
+ margin-left: 30px;
96
+ margin-top: -45px;
79
97
 
98
+ width: 200px;
80
99
 
81
100
  }
82
101
 
83
- .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item:only-child {
102
+ .fontawesome-i2svg-active .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item:only-child {
84
103
  @apply rounded-md bg-white dark:bg-gray-900 py-0 px-0 shadow-lg;
85
104
  display: block;
86
105
  visibility: visible;
87
106
  opacity: 1;
88
107
  position: fixed;
89
108
  padding-right: 20px;
90
- margin-top: 45px;
91
-
109
+ margin-top: 0;
92
110
 
93
111
  }
94
112
 
95
- .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item {
113
+ .h-screen.flex .sidebar.close .icon-link .sts-sidebar-menu-item:hover > [data-satis-sidebar-menu-item-target="submenu"] .sts-sidebar-menu-item.pl-4 {
96
114
  @apply py-0 px-0 ;
97
115
  display: block;
98
116
  visibility: visible;
@@ -2,7 +2,7 @@ div.satis-switch data-controller='satis-switch'
2
2
  - if options[:label] != false
3
3
  = form.custom_label(attribute, options[:label], data: { action: "click->satis-switch#toggle" })
4
4
  = form.hidden_field(attribute, options[:input_html].reverse_merge(value: @value ? "1" : "0", 'data-action' => 'change->satis-switch#update'))
5
- button.mt-3.mb-3.relative.inline-flex.flex-shrink-0.h-6.w-11.border-2.border-transparent.rounded-full.cursor-pointer.transition-colors.ease-in-out.duration-200.focus:outline-none.focus:ring-2.focus:ring-offset-2.focus:ring-primary-500 aria-checked="false" role="switch" type="button" data-action="click->satis-switch#toggle" data-satis-switch-target="button" class="#{@value ? 'bg-primary-600' : 'bg-gray-200'}"
5
+ button.mt-3.mb-3.relative.inline-flex.flex-shrink-0.h-6.w-11.border-2.border-transparent.rounded-full.cursor-pointer.transition-colors.ease-in-out.duration-200.focus:outline-none.focus:ring-2.focus:ring-offset-2.focus:ring-primary-500.dark:focus:ring-primary-800.dark:bg-gray-700 aria-checked="false" role="switch" type="button" data-action="click->satis-switch#toggle" data-satis-switch-target="button" class="#{@value ? 'bg-primary-600' : 'bg-gray-200'}"
6
6
  span.pointer-events-none.inline-block.h-5.w-5.rounded-full.bg-white.shadow.transform.ring-0.transition.ease-in-out.duration-200 aria-hidden="true" data-satis-switch-target="switch" class="#{@value ? 'translate-x-5' : 'translate-x-0' }"
7
7
  - if icon
8
8
  span.absolute.inset-0.h-full.w-full.flex.items-center.justify-center.transition-opacity aria-hidden="true" data-satis-switch-target="cross" class="#{@value ? 'opacity-0 ease-out duration-100' : 'opacity-100 ease-in duration-200' }"
@@ -5,7 +5,7 @@
5
5
  - tabs.each do |tab|
6
6
  option selected=tab.selected? = ct(".#{tab.name}", scope: :tab)
7
7
  .hidden.sm:block
8
- .border-b.border-gray-200.dark:border-opacity-25
8
+ .border-b.border-gray-200.dark:border-opacity-25.dark:bg-gray-900.dark:bg-opacity-50
9
9
  nav.sts-tabs__nav aria-label="Tabs"
10
10
  - tabs.each.with_index do |tab, index|
11
11
  - id = tab.id.present? ? tab.id : tab.name
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.1.33"
2
+ VERSION = "2.1.36"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.33
4
+ version: 2.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-22 00:00:00.000000000 Z
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser