katalyst-koi 4.7.3 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/builds/koi/admin.css +201 -150
- data/app/assets/builds/koi/admin.css.map +1 -1
- data/app/assets/javascripts/koi/controllers/index_actions_controller.js +0 -8
- data/app/assets/javascripts/koi/controllers/pagy_nav_controller.js +21 -0
- data/app/assets/stylesheets/koi/base/_index.scss +1 -0
- data/app/assets/stylesheets/koi/base/_tables.scss +15 -0
- data/app/assets/stylesheets/koi/components/_index.scss +0 -1
- data/app/components/concerns/koi/tables/cells.rb +85 -0
- data/app/components/koi/header/edit_component.rb +1 -1
- data/app/components/koi/header/show_component.rb +1 -1
- data/app/components/koi/summary_list/date_component.rb +2 -2
- data/app/components/koi/summary_list/datetime_component.rb +2 -2
- data/app/components/koi/summary_list/number_component.rb +2 -2
- data/app/components/koi/summary_table_component.rb +7 -0
- data/app/components/koi/table_component.rb +7 -0
- data/app/components/koi/tables/cells/enum_component.rb +27 -0
- data/app/components/koi/tables/table_component.rb +2 -54
- data/app/controllers/admin/admin_users_controller.rb +2 -2
- data/app/controllers/admin/sessions_controller.rb +8 -10
- data/app/controllers/admin/tokens_controller.rb +15 -13
- data/app/controllers/admin/url_rewrites_controller.rb +2 -2
- data/app/controllers/concerns/koi/controller/has_attachments.rb +1 -1
- data/app/controllers/concerns/koi/controller/is_admin_controller.rb +6 -4
- data/app/controllers/concerns/koi/controller/json_web_token.rb +1 -1
- data/app/helpers/koi/definition_list_helper.rb +2 -2
- data/app/helpers/koi/index_actions_helper.rb +2 -4
- data/app/helpers/koi/pagy.rb +15 -0
- data/app/models/url_rewrite.rb +1 -1
- data/app/views/admin/credentials/_credentials.html.erb +1 -1
- data/config/initializers/extensions.rb +1 -1
- data/config/initializers/flipper.rb +1 -1
- data/config/initializers/pagy.rb +2 -0
- data/config/locales/koi.en.yml +4 -0
- data/db/migrate/20130509235316_add_url_rewriter.rb +1 -1
- data/db/migrate/20230531063707_update_admin_users.rb +6 -3
- data/db/seeds.rb +1 -1
- data/lib/generators/koi/admin/admin_generator.rb +7 -1
- data/lib/generators/koi/admin_controller/admin_controller_generator.rb +6 -2
- data/lib/generators/koi/admin_controller/templates/controller.rb.tt +51 -53
- data/lib/generators/koi/admin_controller/templates/controller_spec.rb.tt +1 -1
- data/lib/generators/koi/admin_views/admin_views_generator.rb +8 -23
- data/lib/generators/koi/admin_views/templates/edit.html.erb.tt +1 -1
- data/lib/generators/koi/admin_views/templates/index.html.erb.tt +7 -7
- data/lib/generators/koi/admin_views/templates/new.html.erb.tt +1 -1
- data/lib/generators/koi/admin_views/templates/show.html.erb.tt +8 -4
- data/lib/govuk_design_system_formbuilder/elements/document.rb +5 -5
- data/lib/govuk_design_system_formbuilder/elements/image.rb +5 -5
- data/lib/koi/form_builder.rb +12 -12
- data/lib/koi/menu/builder.rb +6 -6
- metadata +9 -4
- data/app/assets/stylesheets/koi/components/_index-table.scss +0 -147
- data/app/assets/stylesheets/koi/components/index-table/_ordinal.scss +0 -38
@@ -1,38 +0,0 @@
|
|
1
|
-
$width: 2rem !default;
|
2
|
-
$time: 125ms !default;
|
3
|
-
|
4
|
-
.index-table {
|
5
|
-
tr {
|
6
|
-
transition:
|
7
|
-
top $time ease-in-out,
|
8
|
-
transform $time ease-in-out;
|
9
|
-
}
|
10
|
-
|
11
|
-
tr[dragging] {
|
12
|
-
transition: transform $time ease-in-out;
|
13
|
-
filter: drop-shadow(0 0 0.5rem var(--row-border-color));
|
14
|
-
transform: scale(1.01);
|
15
|
-
td {
|
16
|
-
box-shadow: none;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
th.ordinal {
|
21
|
-
width: $width;
|
22
|
-
padding-left: 0;
|
23
|
-
a {
|
24
|
-
width: $width;
|
25
|
-
height: 3rem;
|
26
|
-
}
|
27
|
-
a::after {
|
28
|
-
right: 0;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
td.ordinal {
|
33
|
-
width: $width;
|
34
|
-
padding-left: 0;
|
35
|
-
cursor: grab;
|
36
|
-
text-align: center;
|
37
|
-
}
|
38
|
-
}
|